summaryrefslogtreecommitdiff
path: root/src/modules/m_userip.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:10:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:10:53 +0000
commit69ffa8d85f9f709b72ad3c4489b7c93f7ec14a9a (patch)
treefab9b4002161b05e843967337b651e15c78710ae /src/modules/m_userip.cpp
parent017ce3d846b50918251ee900dde7c7d3f5a691b9 (diff)
More
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7343 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_userip.cpp')
-rw-r--r--src/modules/m_userip.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index 29b1eb5fa..64111da07 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -82,29 +82,5 @@ class ModuleUserIP : public Module
};
-// stuff down here is the module-factory stuff. For basic modules you can ignore this.
-
-class ModuleUserIPFactory : public ModuleFactory
-{
- public:
- ModuleUserIPFactory()
- {
- }
-
- ~ModuleUserIPFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleUserIP(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleUserIPFactory;
-}
+MODULE_INIT(ModuleUserIP);