summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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);
};