Fixing Spam Prevention

Links the spam prevention to verbs, and removes the proc references. This way, automatic emotes do not cause them to be triggered.
This commit is contained in:
skull132
2016-01-14 15:14:49 +02:00
parent 4dc1bc31ac
commit 6d0cb7dd25
22 changed files with 44 additions and 74 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey","
if(prefs.muted & MUTE_ADMINHELP)
src << "<font color='red'>Error: Admin-PM: You cannot send adminhelps (Muted).</font>"
return
if(src.handle_spam_prevention(msg,MUTE_ADMINHELP))
if(src.handle_spam_prevention(msg,MUTE_ADMINHELP,0))
return
adminhelped = 2 //Determines if they get the message to reply by clicking the name.