return -1
end
end)
- hook_add("sendtochannel", "supernets_pm_filter", spamlevel >= 10 and function(hook, cl1, cl2, chan, txt)
+ hook_add("sendtoclient", "supernets_pm_filter", spamlevel >= 10 and function(hook, cl1, cl2, chan, txt)
if cl1.umode & 2 ~= 0 then -- UMODE_OPER
return 0
end
return -1
end
end)
- hook_add("sendtoclinet", "hardchats_pm_filter", spamlevel >= 10 and function(hook, cl1, cl2, chan, txt)
+ hook_add("sendtoclient", "hardchats_pm_filter", spamlevel >= 10 and function(hook, cl1, cl2, chan, txt)
if cl1.umode & 2 ~= 0 then -- UMODE_OPER
return 0
end