diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-11-02 14:29:40 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-11-02 14:29:40 +0000 |
commit | 0d2b6637ca369166629576f160ef1fd376078e5a (patch) | |
tree | 542bb6a239bf42a372e79c0c3b0aa0c624cfe8c4 /src/inspircd.cpp | |
parent | 7901c49c541860a6c120b9220bf6196e4d3672f7 (diff) |
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
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); |