summaryrefslogtreecommitdiff
path: root/src/modules/m_cban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_cban.cpp')
-rw-r--r--src/modules/m_cban.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp
index df24ddf18..35005c741 100644
--- a/src/modules/m_cban.cpp
+++ b/src/modules/m_cban.cpp
@@ -247,26 +247,5 @@ class ModuleCBan : public Module
}
};
-class ModuleCBanFactory : public ModuleFactory
-{
- public:
- ModuleCBanFactory()
- {
- }
-
- ~ModuleCBanFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleCBan(Me);
- }
-
-};
+MODULE_INIT(ModuleCBan);
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleCBanFactory;
-}