Fixed a bug where chmode +q users could not kick chmode +a users

This commit is contained in:
codemastr 2002-11-26 23:07:13 +00:00
parent 6750bca21c
commit dd2bf9e926
2 changed files with 4 additions and 2 deletions

View file

@ -1683,3 +1683,5 @@ seen. gmtime warning still there
need to perform configuration tests. This is currently only implimented for dynamic linking
- Made the same system work under static linking. This (barring any bugs) should be the
completion of conf3. :)
- Fixed a bug where chmode +q users could not kick chmode +a users. (#0000459) reported by
jollino.

View file

@ -3463,9 +3463,9 @@ CMD_FUNC(m_kick)
chptr->chname, who->name, comment);
goto attack;
} /* is_chan_op */
if (is_chanprot(who, chptr)
if ((is_chanprot(who, chptr)
|| is_chanowner(who, chptr)
|| IsServices(who)) {
|| IsServices(who)) && !is_chanowner(sptr, chptr)) {
if (IsNetAdmin(sptr))
{ /* IRCop kicking owner/prot */
sendto_snomask(SNO_EYES,