From c948edd1116b7ba0c651115ff91a4c281fa52242 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Thu, 1 May 2014 00:07:10 +0200 Subject: m_cgiirc Call User::InvalidateCache() after changing host and dhost in OnCheckReady() --- src/modules/m_cgiirc.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index ccbaaae32..cce2e7855 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -294,6 +294,7 @@ public: std::string* webirc_hostname = cmd.webirc_hostname.get(user); user->host = user->dhost = (webirc_hostname ? *webirc_hostname : user->GetIPString()); + user->InvalidateCache(); RecheckClass(user); if (user->quitting) -- cgit v1.2.3