summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-02-20 13:03:31 -0500
committerAdam <Adam@anope.org>2014-02-20 13:08:43 -0500
commit60b5933a7e0973c0043b72a10d66226c9d1b423c (patch)
treedfd7de0ba5081cc0d7c885a698cafc12794e98e7 /src
parenta85188c02bbcb37c0aae5048173a43e052e4eb7d (diff)
Fix /who on opers incorrectly showing +i opers to
users without the privilege to see them, introduced in b328aad53b044bd9cf9720dfed216b0ee61c8e31
Diffstat (limited to 'src')
-rw-r--r--src/commands/cmd_who.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string>& 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;
}