]> jfr.im git - irc/freenode/ircd-seven.git/commitdiff
attempt to fix the previous partial change
authorStephen Bennett <redacted>
Sat, 6 Nov 2010 21:28:34 +0000 (21:28 +0000)
committerStephen Bennett <redacted>
Sat, 6 Nov 2010 21:28:34 +0000 (21:28 +0000)
modules/core/m_message.c

index 6e258c09f4868a9bc71325714582eb6d27ee8356..6e9188d1cb98412c94b1fe9b364b1784af361ae4 100644 (file)
@@ -820,7 +820,7 @@ msg_client(int p_or_n, const char *command,
                                        (IsSetRegOnlyMsg(target_p) && !source_p->user->suser[0])))
                {
                        /* Here is the anti-flood bot/spambot code -db */
-                       if(accept_message(source_p, target_p) || IsOper(source_p))
+                       if(accept_message(source_p, target_p) || IsAnyOper(source_p))
                        {
                                add_reply_target(target_p, source_p);
                                sendto_anywhere_message(target_p, source_p, command, "%s", text);