IsBanned Debug

Adds a debug message as to when a blacklist check is completed. Enables
us to actually time the check.
This commit is contained in:
skull132
2015-01-23 22:35:05 +02:00
parent 03e3360020
commit 803794eaba
+2
View File
@@ -52,6 +52,8 @@ world/IsBanned(key,address,computer_id)
AddBan(ckey(key), computer_id, "Bad IP", "Automated Ban", 0, 0)
return list("reason"="IP Blacklisted", "desc"="\nReason: This IP has been blacklisted from the server.\nIf you believe this is a mistake, please request help at [config.banappeals]")
msg_scopes("[key]'s blacklist check completed.")
if(config.ban_legacy_system)
//Ban Checking