]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/core/m_kick.c
Add full support for +a (owner) and +h (halfop) chmodes.
[irc/rqf/shadowircd.git] / modules / core / m_kick.c
index 841485f871b912ebae3d8fe79c9598b8c4518859..368c7153fbcf46c60c564775e5ee5b9b827d8a27 100644 (file)
@@ -97,7 +97,7 @@ m_kick(struct Client *client_p, struct Client *source_p, int parc, const char *p
                        return 0;
                }
 
-               if(!is_chanop(msptr))
+               if(!can_kick_deop(msptr, find_channel_membership(chptr, client_p)) && !IsOverride(source_p))
                {
                        if(MyConnect(source_p))
                        {