From 409b55e4425042d0e5a047af296ffbc2514e6192 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 16 Nov 2007 17:56:43 +0000 Subject: Correctly do the second setup of the fake client (AFTER uid has been initialised) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8599 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 923613002..98c7cc3ea 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -502,11 +502,6 @@ InspIRCd::InspIRCd(int argc, char** argv) this->AddServerName(Config->ServerName); - /* set up fake client again this time with the correct uid */ - delete FakeClient; - this->FakeClient = new User(this); - this->FakeClient->SetFd(FD_MAGIC_NUMBER); - /* * Initialise SID/UID. * For an explanation as to exactly how this works, and why it works this way, see GetUID(). @@ -531,6 +526,11 @@ 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); + // Get XLine to do it's thing. this->XLines->CheckELines(); this->XLines->ApplyLines(); -- cgit v1.2.3