summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-05-01 00:07:10 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-05-01 00:07:10 +0200
commitc948edd1116b7ba0c651115ff91a4c281fa52242 (patch)
treefe6637c351688ddfa7231a3f123770ecd4e6e199
parentf65b215865e98282623eb8ab4e4ae400e558144a (diff)
m_cgiirc Call User::InvalidateCache() after changing host and dhost in OnCheckReady()
-rw-r--r--src/modules/m_cgiirc.cpp1
1 files changed, 1 insertions, 0 deletions
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)