diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-01 23:39:44 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-01 23:39:44 +0000 |
commit | 4b2dda4d80ee0855e577cbd6099d9d1bd915e8da (patch) | |
tree | 36d0ba8df3675abc9a74b85c1f7a06300a1af2e4 | |
parent | 814eff85327ef682808e0f49d4e18487867d2538 (diff) |
Only setup fakeclient once.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9253 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/inspircd.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 8d7046ef6..bf103328d 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -447,13 +447,6 @@ InspIRCd::InspIRCd(int argc, char** argv) this->Modes = new ModeParser(this); - /* set up fake client (uid is incorrect at this point, - * until after config is read. we set up the user again - * at that point - */ - this->FakeClient = new User(this); - this->FakeClient->SetFd(FD_MAGIC_NUMBER); - if (!do_root) this->CheckRoot(); else @@ -519,7 +512,6 @@ InspIRCd::InspIRCd(int argc, char** argv) this->InitialiseUID(); /* set up fake client again this time with the correct uid */ - delete FakeClient; this->FakeClient = new User(this); this->FakeClient->SetFd(FD_MAGIC_NUMBER); |