diff options
-rw-r--r-- | src/modules/m_nonotice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp index 2998fff8f..594a65296 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -48,7 +48,7 @@ class ModuleNoNotice : public Module chanrec* c = (chanrec*)dest; if (c->IsCustomModeSet('T')) { - if ((Srv->IsUline(user->server)) || (Srv->ChanMode(user,c) == "@") || (Srv->ChanMode(user,c) == "%")) + if ((Srv->IsUlined(user->server)) || (Srv->ChanMode(user,c) == "@") || (Srv->ChanMode(user,c) == "%")) { // ops and halfops can still /NOTICE the channel return 0; |