summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/extern.h2
-rw-r--r--include/users.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/include/extern.h b/include/extern.h
index 709f0136a..fb3894c04 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1149,8 +1149,6 @@ E char *TS6SID;
E char *TS6UPLINK;
E void update_host(User * user);
-E void change_user_username(User * user, const char *username);
-E void change_user_realname(User * user, const char *realname);
E User *do_nick(const char *source, char *nick, char *username, char *host,
char *server, char *realname, time_t ts, uint32 svid, uint32 ip, char *vhost, char *uid);
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);
};