From 9bc8b2602426e187c4c5ba6ff0fad0641155357a Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 16 May 2007 10:42:46 +0000 Subject: [PATCH] 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 --- src/modules/m_nonicks.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5