summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-16 10:42:46 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-16 10:42:46 +0000
commit9bc8b2602426e187c4c5ba6ff0fad0641155357a (patch)
tree0b331b17858a4a5b4409fbafb1dfb0844b77ab69 /src
parent0723114557b67f0b4cf20cfb4ddbf7b45f0948e9 (diff)
Opers are not exempt from other modes, don't exempt them from +N (we may add this back post 1.1.8 as a config setting)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7031 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_nonicks.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index d03e2455e..ef93867df 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -83,7 +83,8 @@ class ModuleNoNickChange : public Module
for (UCListIter i = user->chans.begin(); i != user->chans.end(); i++)
{
chanrec* curr = i->first;
- if ((curr->IsModeSet('N')) && (!IS_OPER(user)))
+
+ if (curr->IsModeSet('N'))
{
// don't allow the nickchange, theyre on at least one channel with +N set
// and theyre not an oper