summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:35:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:35:07 +0000
commit7d68395f914977f34ea4032e94a5c21700d59cce (patch)
treedb2b62ad60de7b053a0de18ecd59726c218bd505 /src/modules/m_spanningtree
parentd523f0d4995548ad6d0a21a978c320dab047eb62 (diff)
More
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7356 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/main.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 3fdb26875..97941cb5d 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -1387,26 +1387,5 @@ Priority ModuleSpanningTree::Prioritize()
return PRIORITY_LAST;
}
-class ModuleSpanningTreeFactory : public ModuleFactory
-{
- public:
- ModuleSpanningTreeFactory()
- {
- }
-
- ~ModuleSpanningTreeFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleSpanningTree(Me);
- }
-
-};
+MODULE_INIT(ModuleSpanningTree);
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleSpanningTreeFactory;
-}