diff options
Diffstat (limited to 'src/modules/m_nonotice.cpp')
-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 66a5b056a..c26299a77 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -25,7 +25,7 @@ class ModuleNoNotice : public Module chanrec* c = (chanrec*)dest; if (c->IsCustomModeSet('T')) { - if ((Srv->ChanMode(user,c) == '@') || (Srv->ChanMode(user,c) == '%')) + if ((Srv->ChanMode(user,c) == "@") || (Srv->ChanMode(user,c) == "%")) { // ops and halfops can still /NOTICE the channel return 0; |