diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-13 05:27:39 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-13 05:27:39 +0000 |
commit | 6dd331262aa8f989657891e27b8891ee6a00016c (patch) | |
tree | a414c7cacbdc046ee6529c63f000c26d973fe35c /include/users.h | |
parent | d4ee4c5aa4312cde76fe50e34ef8ca1685d521f0 (diff) |
Create subclass of User for FakeClient, to allow for use as command source
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11375 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h index 4871ca411..207d782b0 100644 --- a/include/users.h +++ b/include/users.h @@ -679,7 +679,7 @@ class CoreExport User : public EventHandler * on the server, in nick!ident&at;host form. * @return The full masked host of the user */ - virtual const std::string& GetFullHost(); + virtual const std::string GetFullHost(); /** Returns the full real host of the user * This member function returns the hostname of the user as seen by other users @@ -687,7 +687,7 @@ class CoreExport User : public EventHandler * e.g. through a module, then this method will ignore it and return the true hostname. * @return The full real host of the user */ - virtual const std::string& GetFullRealHost(); + virtual const std::string GetFullRealHost(); /** This clears any cached results that are used for GetFullRealHost() etc. * The results of these calls are cached as generating them can be generally expensive. |