Merge pull request #31768 from AnturK/ahelptrim

Trims ahelps
This commit is contained in:
Leo
2017-10-16 19:27:53 -02:00
committed by CitadelStationBot
parent cc96777b6b
commit 3857bfb2fc
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -131,7 +131,7 @@
//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
msg = sanitize(copytext(msg,1,MAX_MESSAGE_LEN))
msg = trim(sanitize(copytext(msg,1,MAX_MESSAGE_LEN)))
if(!msg)
return