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 7c13d678a..5f7be1580 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -71,7 +71,7 @@ class ModuleNoNickChange : public Module chanrec* curr = user->chans[i].channel; if (curr->IsCustomModeSet('N')) { - if (!strchr(user->modes,'o')) + if (!*user->oper) { // don't allow the nickchange, theyre on at least one channel with +N set // and theyre not an oper |