]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_opermotd.cpp
Windows support. Tested and working to compile on freebsd and linux. Next step is...
[user/henk/code/inspircd.git] / src / modules / m_opermotd.cpp
index 447468cafa9196a107e570a4d01a583abf071135..f08b287bdee4b65f42f661137e05c435f130e73e 100644 (file)
@@ -81,7 +81,7 @@ class ModuleOpermotd : public Module
        }
        
        ModuleOpermotd(InspIRCd* Me)
-               : Module::Module(Me)
+               : Module(Me)
        {
                opermotd = NULL;
                mycommand = new cmd_opermotd(ServerInstance);
@@ -132,7 +132,7 @@ class ModuleOpermotdFactory : public ModuleFactory
        }
 };
 
-extern "C" void* init_module(void)
+extern "C" DllExport void* init_module(void)
 {
        return new ModuleOpermotdFactory;
 }