summaryrefslogtreecommitdiff
path: root/src/modules/m_seenicks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_seenicks.cpp')
-rw-r--r--src/modules/m_seenicks.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_seenicks.cpp b/src/modules/m_seenicks.cpp
index e472e60bb..5aa0f9069 100644
--- a/src/modules/m_seenicks.cpp
+++ b/src/modules/m_seenicks.cpp
@@ -52,27 +52,4 @@ class ModuleSeeNicks : public Module
}
};
-class ModuleSeeNicksFactory : public ModuleFactory
-{
- public:
- ModuleSeeNicksFactory()
- {
- }
-
- ~ModuleSeeNicksFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleSeeNicks(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleSeeNicksFactory;
-}
-
+MODULE_INIT(ModuleSeeNicks);