Add OOC throttling

This commit is contained in:
Markolie
2016-11-08 17:01:44 +01:00
parent fc22354185
commit 75176722e7
7 changed files with 26 additions and 16 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey","
if(!msg)
return
if(src.handle_spam_prevention(msg,MUTE_ADMINHELP))
if(handle_spam_prevention(msg, MUTE_ADMINHELP, OOC_COOLDOWN))
return
msg = sanitize(copytext(msg,1,MAX_MESSAGE_LEN))