From 60b5933a7e0973c0043b72a10d66226c9d1b423c Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 20 Feb 2014 13:03:31 -0500 Subject: Fix /who on opers incorrectly showing +i opers to users without the privilege to see them, introduced in b328aad53b044bd9cf9720dfed216b0ee61c8e31 --- src/commands/cmd_who.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/cmd_who.cpp b/src/commands/cmd_who.cpp index f8926b9f7..2b3242211 100644 --- a/src/commands/cmd_who.cpp +++ b/src/commands/cmd_who.cpp @@ -368,7 +368,7 @@ CmdResult CommandWho::Handle (const std::vector& parameters, User * { if (!user->SharesChannelWith(oper)) { - if (usingwildcards && (!oper->IsModeSet('i')) && (!user->HasPrivPermission("users/auspex"))) + if (usingwildcards && (oper->IsModeSet('i')) && (!user->HasPrivPermission("users/auspex"))) continue; } -- cgit v1.2.3