Made bans automatically show the address for the appeal forum, if set in config.

This commit is contained in:
SkyMarshal
2012-04-10 23:52:28 -07:00
parent 80158164dc
commit 2b619a2dd5
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -711,7 +711,7 @@
if (isbanned)
log_access("Failed Login: [src] - Banned")
message_admins("\blue Failed Login: [src] - Banned")
alert(src,"You have been banned.\nReason : [isbanned]","Ban","Ok")
alert(src,"You have been banned.\nReason : [isbanned][config.appeal_address ? "\nYou may appeal this at [config.appeal_address]" : ""]","Ban","Ok")
del(src)
/*