diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/hash.c | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -7,6 +7,7 @@ o) Add -fstack-protector to CFLAGS if available. Basically checks for buffer overflows/stack-smashing attacks o) When using anope 1.9 services, /WHOIS now shows the account name of a registered/identified client +o) Administrators can now see +s channels in /LIST -- ircd-hybrid-8.1.7 Release Notes @@ -762,7 +762,8 @@ static void list_one_channel(struct Client *source_p, struct Channel *chptr, struct ListTask *list_task) { - if (SecretChannel(chptr) && !IsMember(source_p, chptr)) + if (SecretChannel(chptr) && + !(IsMember(source_p, chptr) || HasUMode(source_p, UMODE_ADMIN))) return; if (dlink_list_length(&chptr->members) < list_task->users_min || dlink_list_length(&chptr->members) > list_task->users_max || |