]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_tline.cpp
A ton more clear() and empty() stuff thats been lingering on the long term todo for...
[user/henk/code/inspircd.git] / src / modules / m_tline.cpp
index 801218377066286e78aece23fd19774370a0b97e..37437b5fd810d20c7a15305bf4db3b80474a759c 100644 (file)
  * ---------------------------------------------------
  */
 
-#include <stdio.h>
+#include "inspircd.h"
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
 #include "wildcard.h"
-#include "inspircd.h"
-#include "dns.h"
 
 /* $ModDesc: Provides /tline command used to test who a mask matches */
 
@@ -73,7 +71,7 @@ class ModuleTLine : public Module
        cmd_tline* newcommand;
  public:
        ModuleTLine(InspIRCd* Me)
-               : Module::Module(Me)
+               : Module(Me)
        {
                
                newcommand = new cmd_tline(ServerInstance);
@@ -114,7 +112,7 @@ class ModuleTLineFactory : public ModuleFactory
 };
 
 
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
 {
        return new ModuleTLineFactory;
 }