X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_globops.cpp;h=95a1e1e3744a291a19ef493bf6e3cd8516a533a5;hb=cd7657bddc7a6dc2e7326077d173a874bf71f6bd;hp=7e4d88d9471867bc1091a879b82d03e997bde714;hpb=9c3a20c15123c4812c236f33418c1fdfe74c3ff2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index 7e4d88d94..95a1e1e37 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -13,12 +13,10 @@ // Globops and +g support module by C.J.Edwards -#include -#include +#include "inspircd.h" #include "users.h" #include "channels.h" #include "modules.h" -#include "inspircd.h" /* $ModDesc: Provides support for GLOBOPS and user mode +g */ @@ -52,7 +50,7 @@ class ModuleGlobops : public Module cmd_globops* mycommand; public: ModuleGlobops(InspIRCd* Me) - : Module::Module(Me) + : Module(Me) { mycommand = new cmd_globops(ServerInstance); ServerInstance->AddCommand(mycommand); @@ -94,7 +92,7 @@ class ModuleGlobopsFactory : public ModuleFactory }; -extern "C" void * init_module( void ) +extern "C" DllExport void * init_module( void ) { return new ModuleGlobopsFactory; }