summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-07 10:15:40 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-07 10:15:40 +0000
commit6b3c06f84c8292a6aaa8e42a64c156616923aaf1 (patch)
tree255f67e7f88bed2e4d79a50a8e4eb4c4cfd3df39
parentff7e4427b3e69fcca85b5356fee9a2544630f7ff (diff)
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
-rw-r--r--src/modules/m_hideoper.cpp2
1 files changed, 1 insertions, 1 deletions
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;