Port TG's stickyban panel (#6806)

This commit is contained in:
Erki
2019-08-01 10:37:23 +03:00
committed by GitHub
parent c0908a708f
commit 9535f738ad
11 changed files with 932 additions and 37 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
client.verbs += typesof(/client/verb) // Let's return regular client verbs
client.authed = TRUE // We declare client as authed now
// Check for bans
var/list/ban_data = world.IsBanned(ckey(newkey), c.address, c.computer_id)
var/list/ban_data = world.IsBanned(ckey(newkey), c.address, c.computer_id, 1, TRUE)
if(ban_data)
to_chat(c, "You are banned for this server.")
to_chat(c, "Reason: [ban_data["reason"]]")