X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_cban.cpp;h=b6e197c2f0c89b5790f4c8233584022fc7a3f0de;hb=cd7657bddc7a6dc2e7326077d173a874bf71f6bd;hp=5491f5e3abb6d941392fe86ea4b8c829de1ba8f7;hpb=276bbd193ed9dc53f44a4f564401d577d8e31424;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 5491f5e3a..b6e197c2f 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -11,12 +11,12 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include #include "users.h" #include "channels.h" #include "modules.h" #include "configreader.h" -#include "inspircd.h" /* $ModDesc: Gives /cban, aka C:lines. Think Q:lines, for channels. */ @@ -111,6 +111,7 @@ class cmd_cban : public command_t } } + /* we want this routed! */ return CMD_SUCCESS; } }; @@ -126,7 +127,7 @@ class ModuleCBan : public Module public: - ModuleCBan(InspIRCd* Me) : Module::Module(Me) + ModuleCBan(InspIRCd* Me) : Module(Me) { mycommand = new cmd_cban(Me); @@ -265,7 +266,7 @@ class ModuleCBanFactory : public ModuleFactory }; -extern "C" void * init_module( void ) +extern "C" DllExport void * init_module( void ) { return new ModuleCBanFactory; }