Rework spam protection (#6201)

This commit is contained in:
Erki
2019-04-01 21:43:24 +03:00
committed by Werner
parent 14f1aa238a
commit 015fce2f48
16 changed files with 73 additions and 109 deletions

View File

@@ -70,11 +70,6 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey","
to_chat(usr, "<span class='warning'>Speech is currently admin-disabled.</span>")
return
//handle muting and automuting
if(prefs.muted & MUTE_ADMINHELP)
to_chat(src, "<font color='red'>Error: Admin-PM: You cannot send adminhelps (Muted).</font>")
return
adminhelped = ADMINHELPED
if(src.handle_spam_prevention(msg,MUTE_ADMINHELP))