From 092eb69a53d679053b8daee895a7a290a71b2e62 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 11:47:07 +0000 Subject: Moved ModeGrok and Parser into InspIRCd class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2522 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 89b7d9e8c..ddd5c148f 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -92,8 +92,6 @@ userrec* fd_ref_table[65536]; serverstats* stats = new serverstats; Server* MyServer = new Server; ServerConfig *Config = new ServerConfig; -CommandParser *Parser = NULL; -ModeParser *ModeGrok = NULL; user_hash clientlist; chan_hash chanlist; @@ -189,8 +187,8 @@ InspIRCd::InspIRCd(int argc, char** argv) Config->ClearStack(); Config->Read(true,NULL); CheckRoot(); - ModeGrok = new ModeParser(); - Parser = new CommandParser(); + this->ModeGrok = new ModeParser(); + this->Parser = new CommandParser(); AddServerName(Config->ServerName); CheckDie(); stats->BoundPortCount = BindPorts(); -- cgit v1.3.1-10-gc9f91