1
0
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:
Bram Matthys
2005-03-06 21:01:42 +00:00
parent 4e7f9c67ba
commit 6090928333
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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).
+1 -1
View File
@@ -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 */