From d3e3a13ae6590fcbd8be09e168a2b002f2967368 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 30 Dec 2006 19:30:53 +0000 Subject: Cached GetFullRealHost etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6179 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_nick.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cmd_nick.cpp') 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; -- cgit v1.3.1-10-gc9f91