diff options
Diffstat (limited to 'src/cmd_oper.cpp')
-rw-r--r-- | src/cmd_oper.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_oper.cpp b/src/cmd_oper.cpp index bf81ee19e..7db6627e9 100644 --- a/src/cmd_oper.cpp +++ b/src/cmd_oper.cpp @@ -35,6 +35,13 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist) return false; } + + +extern "C" command_t* init_command(InspIRCd* Instance) +{ + return new cmd_oper(Instance); +} + void cmd_oper::Handle (const char** parameters, int pcnt, userrec *user) { char LoginName[MAXBUF]; |