mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-04 00:03:13 +02:00
Fixed a bug where chmode +q users could not kick chmode +a users
This commit is contained in:
@@ -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.
|
||||
|
||||
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user