From 00d8f1792109851129483407d4a33e4040a65f40 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 5 Apr 2014 22:41:08 +0000 Subject: - 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 --- modules/m_who.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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); -- cgit