diff options
| author | 2006-12-30 19:30:53 +0000 | |
|---|---|---|
| committer | 2006-12-30 19:30:53 +0000 | |
| commit | d3e3a13ae6590fcbd8be09e168a2b002f2967368 (patch) | |
| tree | 21f35e581714d601ea3d014b2afa5b9e76533bd1 /src/cmd_nick.cpp | |
| parent | This is a longshot, pls test AnnMaster. (diff) | |
Cached GetFullRealHost etc.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6179 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_nick.cpp')
| -rw-r--r-- | src/cmd_nick.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp index 7801a200f..839125faa 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -108,6 +108,9 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, userrec *user) /* change the nick of the user in the users_hash */ user = user->UpdateNickHash(parameters[0]); + + user->InvalidateCache(); + /* actually change the nick within the record */ if (!user) return CMD_FAILURE; if (!*user->nick) return CMD_FAILURE; |
