From 97c0e6b4c4e304a1c4e764fc06a7e2663a41743d Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 13 May 2009 17:04:17 +0000 Subject: 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 --- src/inspircd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/inspircd.cpp') 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(); -- cgit v1.3.1-10-gc9f91