diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-10-25 20:21:04 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-10-25 20:21:04 +0000 |
commit | 8e1b62d0630b80890e0f3236132af14aa39aba42 (patch) | |
tree | ac4382648bf646ea6e80ab245659cb6fc100b163 | |
parent | 1e1810d5d75e27f2a15ea987e4e4584fd669e379 (diff) |
- Administrators can now see +s channels in /LIST
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2496 82007160-df01-0410-b94d-b575c5fd34c7
-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 || |