1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 21:43:12 +02:00

Fixed bug in non-working channel mode +H. There was a #ifdef ENABLE_INVISOPER

block around +H checking, but this #ifdef is only at this place and is also
never defined... Removed #ifdef because that's now in module...
This commit is contained in:
Bram Matthys
2003-01-20 20:48:59 +00:00
parent d944643010
commit e71f39ea62
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -1801,3 +1801,4 @@ seen. gmtime warning still there
- Removed ircdreg, bug (#0000614), outdated
- Fixed win32 compile error because of report_error patch (oops..)
- Minor documentation fixes reported by Jollino (LUSERS, OFLAGS mode h).
- Fixed bug in non-working channel mode +H. (#0000572)
-2
View File
@@ -2381,10 +2381,8 @@ static int can_join(aClient *cptr, aClient *sptr, aChannel *chptr, char *key, ch
if ((chptr->mode.mode & MODE_ADMONLY) && !IsSkoAdmin(sptr))
return (ERR_ADMONLY);
#ifdef ENABLE_INVISOPER
if ((chptr->mode.mode & MODE_NOHIDING) && IsHiding(sptr))
return (ERR_NOHIDING);
#endif
/* Admin, Coadmin, Netadmin, and SAdmin can still walk +b in +O */
if (IsOper(sptr) && !IsAdmin(sptr) && !IsCoAdmin(sptr) && !IsNetAdmin(sptr)