X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_check.cpp;h=ba6f65673df971f5d9884867a3059ae1e6b47365;hb=02c6ce1ad09a7471a6b03dc00bac4b843d157489;hp=7a7fe570bb39f809f31aee7343a4577ebf93a6af;hpb=33008f95c75f71bf9aa0a870ba9e09940fc753b2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 7a7fe570b..ba6f65673 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -11,10 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "channels.h" #include "modules.h" -#include "inspircd.h" #include "wildcard.h" /* $ModDesc: Provides the /check command to retrieve information on a user, channel, or IP address */ @@ -162,7 +162,7 @@ class ModuleCheck : public Module private: cmd_check *mycommand; public: - ModuleCheck(InspIRCd* Me) : Module::Module(Me) + ModuleCheck(InspIRCd* Me) : Module(Me) { mycommand = new cmd_check(ServerInstance); @@ -205,7 +205,7 @@ class ModuleCheckFactory : public ModuleFactory }; -extern "C" void * init_module( void ) +extern "C" DllExport void * init_module( void ) { return new ModuleCheckFactory; }