X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Ffakeuser.h;h=60e645d6546cca5545d55982700575d531e39eea;hb=eb910456e2f01255f277fe060fef6f7dd3018cf7;hp=afb267c5217aef371e875e0bac2c2a32c0f12e10;hpb=a889336d194abc7df7a98102e3d0e56f0e125edc;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/fakeuser.h b/include/fakeuser.h index afb267c52..60e645d65 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(); + virtual const std::string GetFullRealHost(); + void SetFakeServer(std::string name); }; #endif