diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 11:47:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 11:47:07 +0000 |
commit | 092eb69a53d679053b8daee895a7a290a71b2e62 (patch) | |
tree | 207169c6e5c070b86e1dee4f91cbad79132904ca /src/inspircd.cpp | |
parent | 3d433bc7b0074e3c008b2e5d93f219ac23a58174 (diff) |
Moved ModeGrok and Parser into InspIRCd class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2522 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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(); |