mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-28 05:52:24 +01:00
Fixed a bug where chmode +q users could not kick chmode +a users
This commit is contained in:
parent
6750bca21c
commit
dd2bf9e926
2 changed files with 4 additions and 2 deletions
2
Changes
2
Changes
|
@ -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.
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue