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
commit902ef1ce040903dcfc8fe7adb54635a3681c0712 (patch)
tree674918fe6456eebbe78488c65d1af6f584ae7e80 /include/users.h
parentd2d64e17e730848eaa7081c6bd6eddcea8973428 (diff)
Add User::SetNewNick() method, to be called from ircd protocol.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1188 5417fbe8-f217-4b02-8779-1006273d7864
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);
};