mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 06:23:12 +02:00
- Fixed /SAMODE with no can_override not always working with +G/+j/+T (extcmodes), reported
by Ron2K (#0002398).
This commit is contained in:
@@ -759,3 +759,5 @@
|
||||
- Updated release notes (translated docs, zlib, doc\technical, sp/cS desynch).
|
||||
- Made +g get removed when an oper sets -o (#0002399) reported by Ron2K.
|
||||
- Made it so the win32 version shows channel modes in /list (#0002397) reported by Ron2K.
|
||||
- Fixed /SAMODE with no can_override not always working with +G/+j/+T (extcmodes), reported
|
||||
by Ron2K (#0002398).
|
||||
|
||||
@@ -1710,7 +1710,7 @@ int x;
|
||||
{
|
||||
x = Channelmode_Table[modeindex].is_ok(cptr, chptr, param, EXCHK_ACCESS, what);
|
||||
if ((x == EX_ALWAYS_DENY) ||
|
||||
((x == EX_DENY) && !op_can_override(cptr)))
|
||||
((x == EX_DENY) && !op_can_override(cptr) && !samode_in_progress))
|
||||
{
|
||||
Channelmode_Table[modeindex].is_ok(cptr, chptr, param, EXCHK_ACCESS_ERR, what);
|
||||
return paracnt; /* Denied & error msg sent */
|
||||
|
||||
Reference in New Issue
Block a user