X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/cb097b8840594b6a77aab21d0b4c20f036a7d012..ccd2e3b8ee0a8181013fbee9f3515657b32a45cc:/modules/core/m_kick.c diff --git a/modules/core/m_kick.c b/modules/core/m_kick.c index 2dcdcc5..e807212 100644 --- a/modules/core/m_kick.c +++ b/modules/core/m_kick.c @@ -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),