Canceling an IRC-adminPM will not send a blank message.

Ooops
This commit is contained in:
Ccomp5950
2014-05-03 09:27:59 -05:00
parent 5586439dc8
commit ed25b7c870

View File

@@ -189,6 +189,10 @@
return
var/msg = input(src,"Message:", "Private message to admins on IRC / 400 character limit") as text|null
if(!msg)
return
sanitize(msg)
if(length(msg) > 400) // TODO: if message length is over 400, divide it up into seperate messages, the message length restriction is based on IRC limitations. Probably easier to do this on the bots ends.