]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/core/m_kick.c
Have KICK not show snotes when you're opped in the channel and you have
[irc/rqf/shadowircd.git] / modules / core / m_kick.c
index 2dcdcc50fbdd1681c7acb8e237f173508f9c2ce7..e807212f673c0390051fb8399dfc3c13ec4c8473 100644 (file)
@@ -110,7 +110,7 @@ m_kick(struct Client *client_p, struct Client *source_p, int parc, const char *p
                {
                        if(MyConnect(source_p))
                        {
-                               if(IsOverride(source_p))
+                               if(IsOverride(source_p) & !is_any_op(msptr))
                                        is_override = 1;
                                else
                                {
@@ -206,7 +206,7 @@ m_kick(struct Client *client_p, struct Client *source_p, int parc, const char *p
                if(is_override)
                        sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                        "%s is overriding KICK [%s] on [%s] [%s]",
-                                       get_oper_name(source_p), command, who->name, chptr->chname, comment);
+                                       get_oper_name(source_p), who->name, chptr->chname, comment);
 
                /* jdc
                 * - In the case of a server kicking a user (i.e. CLEARCHAN),