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 --- include/fakeuser.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/fakeuser.h b/include/fakeuser.h index afb267c52..efdb5bd3d 100644 --- a/include/fakeuser.h +++ b/include/fakeuser.h @@ -24,8 +24,9 @@ class CoreExport FakeUser : public User SetFd(FD_FAKEUSER_NUMBER); } - virtual const std::string GetFullHost() { return server; } - virtual const std::string GetFullRealHost() { return server; } + virtual const std::string GetFullHost() { return nick; } + virtual const std::string GetFullRealHost() { return nick; } + void SetFakeServer(std::string name); }; #endif -- cgit v1.2.3