From 6b3c06f84c8292a6aaa8e42a64c156616923aaf1 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 7 Jan 2009 10:15:40 +0000 Subject: Fix an incorrect check leading to backwards functionality, closes bug #663 (hideoper not working), reported by liato. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10950 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_hideoper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_hideoper.cpp') diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp index 50281f69b..425fa90f7 100644 --- a/src/modules/m_hideoper.cpp +++ b/src/modules/m_hideoper.cpp @@ -84,7 +84,7 @@ class ModuleHideOper : public Module if (!dest->IsModeSet('H')) return 0; - if (user->HasPrivPermission("users/auspex")) + if (!user->HasPrivPermission("users/auspex")) return 1; return 0; -- cgit v1.2.3