From 7ea66a37d56ef46726bcca6c8a6f2685cbbceafb Mon Sep 17 00:00:00 2001 From: Adam- Date: Sat, 12 Sep 2009 03:32:47 +0000 Subject: Fixes bugs #1105 and #1106 Now properly track users host changes and keep users cloaked hosts saved in memory git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2498 5417fbe8-f217-4b02-8779-1006273d7864 --- include/users.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') diff --git a/include/users.h b/include/users.h index 360dfeec5..585c15529 100644 --- a/include/users.h +++ b/include/users.h @@ -87,6 +87,15 @@ public: // XXX: exposing a tiny bit too much */ const std::string GetDisplayedHost() const; + /** Update the cloaked host of a user + * @param host The cloaked host + */ + void SetCloakedHost(const std::string &newhost); + + /** Get the cloaked host of a user + * @return The cloaked host + */ + const std::string &GetCloakedHost() const; /** Retrieves the UID of the user, where applicable, if set. * This is not used on some IRCds, but is for a lot e.g. P10, TS6 protocols. -- cgit