]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_devoice.cpp
and a little tweak to remote MOTD too.
[user/henk/code/inspircd.git] / src / modules / m_devoice.cpp
index 7400d2212c409b61ce85dfbd685301bb32ff05dc..37ad8e4c646cac0cab0208393e29d7ab763adf8d 100644 (file)
 
 /* $ModDesc: Provides voiced users with the ability to devoice themselves. */
 
-#include <stdio.h>
+#include "inspircd.h"
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
-#include "inspircd.h"
 
 /** Handle /DEVOICE
  */
@@ -62,7 +61,7 @@ class ModuleDeVoice : public Module
 {
        cmd_devoice *mycommand;
  public:
-       ModuleDeVoice(InspIRCd* Me) : Module::Module(Me)
+       ModuleDeVoice(InspIRCd* Me) : Module(Me)
        {
 
                mycommand = new cmd_devoice(ServerInstance);
@@ -99,7 +98,7 @@ class ModuleDeVoiceFactory : public ModuleFactory
 };
 
 
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
 {
        return new ModuleDeVoiceFactory;
 }