]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setident.cpp
Convert more modules
[user/henk/code/inspircd.git] / src / modules / m_setident.cpp
index a56aec0d1d0589f400cedf7dd327569226008ee4..5122781f18156897362e3619870a4c3f3c43e30a 100644 (file)
@@ -11,9 +11,9 @@
  * ---------------------------------------------------
  */
 
+#include "inspircd.h"
 #include "users.h"
 #include "modules.h"
-#include "inspircd.h"
 
 /* $ModDesc: Provides support for the SETIDENT command */
 
@@ -58,7 +58,7 @@ class ModuleSetIdent : public Module
        cmd_setident*   mycommand;
        
  public:
-       ModuleSetIdent(InspIRCd* Me) : Module::Module(Me)
+       ModuleSetIdent(InspIRCd* Me) : Module(Me)
        {
                
                mycommand = new cmd_setident(ServerInstance);
@@ -97,7 +97,7 @@ class ModuleSetIdentFactory : public ModuleFactory
 };
 
 
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
 {
        return new ModuleSetIdentFactory;
 }