diff options
| author | 2007-06-17 13:35:07 +0000 | |
|---|---|---|
| committer | 2007-06-17 13:35:07 +0000 | |
| commit | 7d68395f914977f34ea4032e94a5c21700d59cce (patch) | |
| tree | db2b62ad60de7b053a0de18ecd59726c218bd505 /src/modules/m_spanningtree/main.cpp | |
| parent | Conversions (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/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 23 |
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; -} |
