diff --git a/Changes b/Changes index 996e3bf0a..1404157f4 100644 --- a/Changes +++ b/Changes @@ -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) diff --git a/src/channel.c b/src/channel.c index 8c8bd791a..02fe7fde1 100644 --- a/src/channel.c +++ b/src/channel.c @@ -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)