@@ -489,7 +489,9 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
|
|||||||
return
|
return
|
||||||
if(handle_spam_prevention(msg,MUTE_ADMINHELP))
|
if(handle_spam_prevention(msg,MUTE_ADMINHELP))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
msg = trim(msg)
|
||||||
|
|
||||||
if(!msg)
|
if(!msg)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
|
|
||||||
//clean the message if it's not sent by a high-rank admin
|
//clean the message if it's not sent by a high-rank admin
|
||||||
if(!check_rights(R_SERVER|R_DEBUG,0)||irc)//no sending html to the poor bots
|
if(!check_rights(R_SERVER|R_DEBUG,0)||irc)//no sending html to the poor bots
|
||||||
msg = sanitize(copytext(msg,1,MAX_MESSAGE_LEN))
|
msg = trim(sanitize(copytext(msg,1,MAX_MESSAGE_LEN)))
|
||||||
if(!msg)
|
if(!msg)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user