summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 497c7d986..2fe746bb2 100644
--- a/include/users.h
+++ b/include/users.h
@@ -68,5 +68,10 @@ class User
* @parameter nick The nickname of the user account.
*/
User(const std::string &nick);
+
+ /** Update the nickname of a user record accordingly, should be
+ * called from ircd protocol.
+ */
+ void SetNewNick(const std::string &newnick);
};