From 8e239de83114878bf9d33cefb3475f47bbadbcd8 Mon Sep 17 00:00:00 2001 From: Jess Porter Date: Fri, 10 Jun 2022 18:15:56 +0100 Subject: [PATCH] don't truncate operspy WHO --- modules/m_who.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/m_who.c b/modules/m_who.c index e9760943..0c077328 100644 --- a/modules/m_who.c +++ b/modules/m_who.c @@ -367,8 +367,12 @@ who_global(struct Client *source_p, const char *mask, int server_oper, int opers who_common_channel(source_p, msptr->chptr, mask, server_oper, &maxmatches, fmt); } } - else if (!ConfigFileEntry.operspy_dont_care_user_info) - report_operspy(source_p, "WHO", mask); + else + { + maxmatches = INT_MAX; + if (!ConfigFileEntry.operspy_dont_care_user_info) + report_operspy(source_p, "WHO", mask); + } /* second, list all matching visible clients and clear all marks * on invisible clients