summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-13 17:04:17 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-13 17:04:17 +0000
commit97c0e6b4c4e304a1c4e764fc06a7e2663a41743d (patch)
treee8ed104d85a573545a94c3ddc9eda144c05c7bbc /src/inspircd.cpp
parenta889336d194abc7df7a98102e3d0e56f0e125edc (diff)
Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree
This makes it possible to determine which server initiated a mode change, instead of having only a flag saying that some server did. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11379 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 3d24c7cd2..a2a634a64 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -610,6 +610,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
/* set up fake client again this time with the correct uid */
this->FakeClient = new FakeUser(this, "!");
+ this->FakeClient->SetFakeServer(Config->ServerName);
// Get XLine to do it's thing.
this->XLines->CheckELines();