From b40fabc15853ef0591991e1a55d282ad0eb95e2b Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 28 Aug 2007 14:07:22 +0000 Subject: Oops: initialise fake client after UID setup, so it gets a UID. This may be unnecessary, but I'd rather not explode things anyway. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7947 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index f39ba03bc..962f84501 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -425,10 +425,6 @@ InspIRCd::InspIRCd(int argc, char** argv) Exit(EXIT_STATUS_LOG); } - /* set up fake client */ - this->FakeClient = new userrec(this); - this->FakeClient->SetFd(FD_MAGIC_NUMBER); - this->stats = new serverstats(); this->Timers = new TimerManager(this); this->Parser = new CommandParser(this); @@ -467,6 +463,10 @@ InspIRCd::InspIRCd(int argc, char** argv) for(i = 3; i < UUID_LENGTH - 1; i++) current_uid[i] = 'A'; + /* set up fake client */ + this->FakeClient = new userrec(this); + this->FakeClient->SetFd(FD_MAGIC_NUMBER); + if (!do_root) this->CheckRoot(); else -- cgit v1.2.3