X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_oper.cpp;h=fd0af1ba526392fbc617db9bd626a94dbdabfd2c;hb=cd7657bddc7a6dc2e7326077d173a874bf71f6bd;hp=59b35deba024e8081876df8d978bd117b6b55559;hpb=1f2b4e2541df088f879a8d5cfcc65687dc6b78f1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_oper.cpp b/src/cmd_oper.cpp index 59b35deba..fd0af1ba5 100644 --- a/src/cmd_oper.cpp +++ b/src/cmd_oper.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "typedefs.h" #include "users.h" @@ -33,7 +34,7 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist) return false; } -extern "C" command_t* init_command(InspIRCd* Instance) +extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_oper(Instance); }