diff options
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r-- | src/command_parse.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 952a65e36..4d8251fa5 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -48,12 +48,8 @@ #define nspace __gnu_cxx -extern InspIRCd* ServerInstance; - extern time_t TIME; -extern Server* MyServer; - /* Special commands which may occur without registration of the user */ cmd_user* command_user; cmd_nick* command_nick; @@ -323,7 +319,7 @@ bool CommandParser::CreateCommand(command_t *f) else return false; } -CommandParser::CommandParser() +CommandParser::CommandParser(InspIRCd* Instance) : ServerInstance(Instance) { this->SetupCommandTable(); } |