Emergency Hotfix

Bans should now work, and not feed errors.
This commit is contained in:
skull132
2015-02-18 22:13:24 +02:00
parent 655ac51ba3
commit 0c2cf25f70
+2 -2
View File
@@ -108,8 +108,8 @@ world/IsBanned(key,address,computer_id)
var/desc = "\nReason: You, or another user of this computer or connection ([pckey]) is banned from playing here. The ban reason is:\n[reason]\nThis ban was applied by [ackey] on [bantime], [expires]"
log_access("Failed Login: [key] [computer_id] [address] - Banned [.["reason"]]")
message_admins("\blue Failed Login: [key] id:[computer_id] ip:[address] - Banned [.["reason"]]")
log_access("Failed Login: [key] [computer_id] [address] - Banned [reason]")
message_admins("\blue Failed Login: [key] id:[computer_id] ip:[address] - Banned [reason]")
return list("reason"="[bantype]", "desc"="[desc]")