diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/fakeuser.h | 5 |
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 |