summaryrefslogtreecommitdiff
path: root/src/modules/m_devoice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_devoice.cpp')
-rw-r--r--src/modules/m_devoice.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_devoice.cpp b/src/modules/m_devoice.cpp
index 55b6abef7..713dc2788 100644
--- a/src/modules/m_devoice.cpp
+++ b/src/modules/m_devoice.cpp
@@ -26,6 +26,7 @@ using namespace std;
#include <stdio.h>
#include "users.h"
#include "channels.h"
+#include "helperfuncs.h"
#include "modules.h"
static Server *Srv;
@@ -62,6 +63,7 @@ class ModuleDeVoice : public Module
public:
ModuleDeVoice(Server* Me) : Module::Module(Me)
{
+ log(DEBUG,"ModuleDeVoice constructor");
Srv = Me;
mycommand = new cmd_devoice();
Srv->AddCommand(mycommand);
@@ -91,13 +93,14 @@ class ModuleDeVoiceFactory : public ModuleFactory
virtual Module * CreateModule(Server* Me)
{
+ log(DEBUG,"ModuleDevoiceFactory::CreateModule()");
return new ModuleDeVoice(Me);
}
};
-extern "C" void * module_init( void )
+extern "C" void * crud_u_like( void )
{
return new ModuleDeVoiceFactory;
}