diff options
Diffstat (limited to 'src/modules/m_nonotice.cpp')
-rw-r--r-- | src/modules/m_nonotice.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp index f6496120b..d7ea32d2f 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -22,21 +22,15 @@ #include "inspircd.h" #include "modules/exemption.h" -class NoNotice : public SimpleChannelModeHandler -{ - public: - NoNotice(Module* Creator) : SimpleChannelModeHandler(Creator, "nonotice", 'T') { } -}; - class ModuleNoNotice : public Module { CheckExemption::EventProvider exemptionprov; - NoNotice nt; + SimpleChannelModeHandler nt; public: ModuleNoNotice() : exemptionprov(this) - , nt(this) + , nt(this, "nonotice", 'T') { } |