From f9636a2eff46f6829bf9e01c711ab1ba45a7d50a Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 22:40:57 +0000 Subject: So much stuff changed in this one, i forgot most of it. Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/command_parse.cpp') 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(); } -- cgit v1.3.1-10-gc9f91