summaryrefslogtreecommitdiff
path: root/include
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
commitc036ed1f512792bb6cf35bcc329300a522e18a0a (patch)
tree63851a9ecde77211004a1e806114f827456a9487 /include
parent902ef1ce040903dcfc8fe7adb54635a3681c0712 (diff)
Move more stuff into the user class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1189 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/extern.h1
-rw-r--r--include/users.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/include/extern.h b/include/extern.h
index 069d217f4..709f0136a 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1149,7 +1149,6 @@ E char *TS6SID;
E char *TS6UPLINK;
E void update_host(User * user);
-E void change_user_host(User * user, const char *host);
E void change_user_username(User * user, const char *username);
E void change_user_realname(User * user, const char *realname);
diff --git a/include/users.h b/include/users.h
index 2fe746bb2..87010bf04 100644
--- a/include/users.h
+++ b/include/users.h
@@ -73,5 +73,10 @@ class User
* called from ircd protocol.
*/
void SetNewNick(const std::string &newnick);
+
+ /** Update the displayed (vhost) of a user record.
+ * This is used (if set) instead of real host.
+ */
+ void SetDisplayedHost(const std::string &host);
};