diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-04-05 22:41:08 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-04-05 22:41:08 +0000 |
commit | 00d8f1792109851129483407d4a33e4040a65f40 (patch) | |
tree | 2cbed8afb5715dd7e894429cfb7c36dccda6af13 | |
parent | 0cebd78c12ca75d44c7008d7a39c2fdfa9cdfc18 (diff) |
- m_who.c:m_who(): admins may now see all channel members via "WHO #channel"
regardless of channel mode +s
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3269 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r-- | modules/m_who.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_who.c b/modules/m_who.c index 11cd0a5..3edcf1d 100644 --- a/modules/m_who.c +++ b/modules/m_who.c @@ -271,7 +271,7 @@ m_who(struct Client *client_p, struct Client *source_p, /* List all users on a given channel */ if ((chptr = hash_find_channel(mask)) != NULL) { - if (IsMember(source_p, chptr)) + if (IsMember(source_p, chptr) || HasUMode(source_p, UMODE_ADMIN)) do_who_on_channel(source_p, chptr, chptr->chname, 1, server_oper); else if (!SecretChannel(chptr)) do_who_on_channel(source_p, chptr, chptr->chname, 0, server_oper); |