]> jfr.im git - irc/freenode/ircd-seven.git/commitdiff
Make umode +g exemption apply to +O as well as +o
authorStephen Bennett <redacted>
Thu, 4 Nov 2010 23:33:42 +0000 (23:33 +0000)
committerStephen Bennett <redacted>
Thu, 4 Nov 2010 23:33:42 +0000 (23:33 +0000)
modules/core/m_message.c

index 2e91b418f80c3aed62de3e3ae116765a51f1eb92..6e258c09f4868a9bc71325714582eb6d27ee8356 100644 (file)
@@ -752,7 +752,7 @@ msg_client(int p_or_n, const char *command,
                 */
                if(p_or_n != NOTICE && IsSetCallerId(source_p) &&
                                !accept_message(target_p, source_p) &&
-                               !IsOper(target_p))
+                               !IsAnyOper(target_p))
                {
                        if(rb_dlink_list_length(&source_p->localClient->allow_list) <
                                        ConfigFileEntry.max_accept)