From e461c57b491e5ab56b9f03a099ab2de0972427ed Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 10:47:29 +0000 Subject: 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 --- src/inspircd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3