diff options
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r-- | src/modules/m_nonicks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index 0532519a2..9bba77d6c 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -85,7 +85,7 @@ class ModuleNoNickChange : public Module for (UCListIter i = user->chans.begin(); i != user->chans.end(); i++) { chanrec* curr = i->first; - if ((curr->IsModeSet('N')) && (!*user->oper)) + if ((curr->IsModeSet('N')) && (!IS_OPER(user))) { // don't allow the nickchange, theyre on at least one channel with +N set // and theyre not an oper |