diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-16 17:56:43 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-16 17:56:43 +0000 |
commit | 409b55e4425042d0e5a047af296ffbc2514e6192 (patch) | |
tree | dbdb02751974e8ff9ecf118b64565d379612d859 /src/inspircd.cpp | |
parent | 9b78e250567982e23116537d94d7c17b16c5de82 (diff) |
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
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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(); |