diff options
Diffstat (limited to 'src/modules/m_nonotice.cpp')
-rw-r--r-- | src/modules/m_nonotice.cpp | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp index 58a69da04..eb856ac1b 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -100,28 +100,4 @@ class ModuleNoNotice : public Module } }; - -class ModuleNoNoticeFactory : public ModuleFactory -{ - public: - ModuleNoNoticeFactory() - { - } - - ~ModuleNoNoticeFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleNoNotice(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleNoNoticeFactory; -} - +MODULE_INIT(ModuleNoNotice); |