]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hostchange.cpp
and a little tweak to remote MOTD too.
[user/henk/code/inspircd.git] / src / modules / m_hostchange.cpp
index 473a35d124e9e8a4a5347267d5bd56b241c6595f..d8f0aaf599bc1b9b06385c0646b5a089fb8350d3 100644 (file)
  * ---------------------------------------------------
  */
 
-#include <stdio.h>
+#include "inspircd.h"
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
-#include "inspircd.h"
 
 /* $ModDesc: Provides masking of user hostnames in a different way to m_cloaking */
 
@@ -41,7 +40,7 @@ class ModuleHostChange : public Module
         
  public:
        ModuleHostChange(InspIRCd* Me)
-               : Module::Module(Me)
+               : Module(Me)
        {
                Conf = new ConfigReader(ServerInstance);
                OnRehash(NULL,"");
@@ -160,7 +159,7 @@ class ModuleHostChangeFactory : public ModuleFactory
 };
 
 
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
 {
        return new ModuleHostChangeFactory;
 }