summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-12 03:32:47 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-12 03:32:47 +0000
commit7ea66a37d56ef46726bcca6c8a6f2685cbbceafb (patch)
tree257f249009bf07167645d679049bbca2d55cabf4 /include
parent46030bbc7e4ca72fd35dd1d5fa272c3c91d8324a (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/users.h9
1 files changed, 9 insertions, 0 deletions
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.