summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-01 23:39:44 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-01 23:39:44 +0000
commit4b2dda4d80ee0855e577cbd6099d9d1bd915e8da (patch)
tree36d0ba8df3675abc9a74b85c1f7a06300a1af2e4 /src
parent814eff85327ef682808e0f49d4e18487867d2538 (diff)
Only setup fakeclient once.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9253 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp8
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);