summaryrefslogtreecommitdiff
path: root/include/fakeuser.h
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 /include/fakeuser.h
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 'include/fakeuser.h')
-rw-r--r--include/fakeuser.h5
1 files changed, 3 insertions, 2 deletions
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