diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 10:47:29 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 10:47:29 +0000 |
commit | e461c57b491e5ab56b9f03a099ab2de0972427ed (patch) | |
tree | 7470ae7fda1919075fe929358717bd1766dca5b7 | |
parent | 91dd2d5f19996d163c477eb2907031d226092e23 (diff) |
Fixed, no longer need to call SetupCommandHandler, constructor of CommandParser does it for us
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2518 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/inspircd.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 08946ddd2..32f6230c2 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -188,8 +188,7 @@ InspIRCd::InspIRCd(int argc, char** argv) Config->ClearStack(); Config->Read(true,NULL); CheckRoot(); - Parser = new CommandParser; - Parser->SetupCommandTable(); + Parser = new CommandParser(); AddServerName(Config->ServerName); CheckDie(); stats->BoundPortCount = BindPorts(); |