diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-18 16:53:00 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-18 16:53:00 +0000 |
commit | b5c1cf4e2cbb3b47134e26e63bbebc3f5d77e150 (patch) | |
tree | 6c433bf92d236783cc78fce7db2a8f093ec7e233 /src/modules/m_hidechans.cpp | |
parent | 4354774fe57e579087f6ba121f5569a8cda52d09 (diff) |
Convert a number of modules to using privs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10676 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_hidechans.cpp')
-rw-r--r-- | src/modules/m_hidechans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp index d73c0e214..7f0b289b6 100644 --- a/src/modules/m_hidechans.cpp +++ b/src/modules/m_hidechans.cpp @@ -97,7 +97,7 @@ class ModuleHideChans : public Module return 1; /* doesn't affect opers, sender is opered */ - if (IS_OPER(user)) + if (user->HasPrivPermission("users/auspex")) return 0; /* user must be opered, boned. */ |