From 0d2b6637ca369166629576f160ef1fd376078e5a Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 2 Nov 2008 14:29:40 +0000 Subject: This was never supposed to be invoked on /rehash, only startup.. so move it to startup only. Also remove (redundant) user arg. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10792 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index c0391b679..1b173e56e 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -632,6 +632,9 @@ InspIRCd::InspIRCd(int argc, char** argv) delete ConfigThread; this->ConfigThread = NULL; + /** Note: This is safe, the method checks for user == NULL */ + this->Parser->SetupCommandTable(); + this->Res = new DNS(this); this->AddServerName(Config->ServerName); -- cgit v1.3.1-10-gc9f91