summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
commita06c716766db4710f0cf81b2c6c2b0bca6e2b749 (patch)
tree6639d26802991718d5f116332f71f048e2c57283 /include/users.h
parentc036ed1f512792bb6cf35bcc329300a522e18a0a (diff)
Add User::SetIdent(). Also remove duplication by using update_host().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1190 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 87010bf04..b6e8010ed 100644
--- a/include/users.h
+++ b/include/users.h
@@ -78,5 +78,9 @@ class User
* This is used (if set) instead of real host.
*/
void SetDisplayedHost(const std::string &host);
+
+ /** Update the displayed ident (username) of a user record.
+ */
+ void SetIdent(const std::string &ident);
};