]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix /who on opers incorrectly showing +i opers to
authorAdam <Adam@anope.org>
Thu, 20 Feb 2014 18:03:31 +0000 (13:03 -0500)
committerAdam <Adam@anope.org>
Thu, 20 Feb 2014 18:08:43 +0000 (13:08 -0500)
users without the privilege to see them, introduced in
b328aad53b044bd9cf9720dfed216b0ee61c8e31

src/commands/cmd_who.cpp

index f8926b9f7a473e1ac5835a370cb63d5a91cb5292..2b3242211e70fea664cbdeb74db06262837b634c 100644 (file)
@@ -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;
                                        }