From 4b2dda4d80ee0855e577cbd6099d9d1bd915e8da Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 1 Apr 2008 23:39:44 +0000 Subject: [PATCH] Only setup fakeclient once. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9253 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 8 -------- 1 file changed, 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); -- 2.39.5