diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-09 17:21:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-09 17:21:26 +0000 |
commit | 65dedc3bc18cc2b8c5b56052c6400129e3df82e2 (patch) | |
tree | c071fb51032bc10a556e6fea0792e1fd3849ed2c | |
parent | c2c963813bc5bb66be4ecff0522d80fa94474fd0 (diff) |
Add a call to InvalidateCache() to fix this:
[04:48] --- peavey is now known as PEAVEY
[04:48] --- peavey is now known as peavey
Second line should be PEAVEY -> peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6282 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/cmd_nick.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp index 21723fafc..19d970d53 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -56,6 +56,7 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, userrec *user) FOREACH_RESULT(I_OnUserPreNick,OnUserPreNick(user,parameters[0])); if (MOD_RESULT) return CMD_FAILURE; + user->InvalidateCache(); if (user->registered == REG_ALL) user->WriteCommon("NICK %s",parameters[0]); strlcpy(user->nick, parameters[0], NICKMAX - 1); |