Re-add ban appeal message, memo check

This commit is contained in:
Markolie
2015-09-27 09:08:10 +02:00
parent 1b14817889
commit 84f1c2ab8f
3 changed files with 8 additions and 5 deletions
+4 -1
View File
@@ -85,7 +85,10 @@ world/IsBanned(key,address,computer_id)
if(text2num(duration) > 0)
expires = "The ban is for [duration] minutes and expires on [expiration] (server time)."
else
expires = " The is a permanent ban."
var/appealmessage = ""
if(config && config.banappeals)
appealmessage = " You may appeal it at <a href='[config.banappeals]'>[config.banappeals]</a>."
expires = " The is a permanent ban.[appealmessage]"
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]"