summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/m_who.c2
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);