aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_hostcycle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_hostcycle.cpp')
-rw-r--r--src/modules/m_hostcycle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hostcycle.cpp b/src/modules/m_hostcycle.cpp
index 621f06a27..0f7405dcc 100644
--- a/src/modules/m_hostcycle.cpp
+++ b/src/modules/m_hostcycle.cpp
@@ -109,7 +109,7 @@ class ModuleHostCycle : public Module
void OnChangeIdent(User* user, const std::string& newident) CXX11_OVERRIDE
{
- DoHostCycle(user, newident, user->dhost, "Changing ident");
+ DoHostCycle(user, newident, user->GetDisplayedHost(), "Changing ident");
}
void OnChangeHost(User* user, const std::string& newhost) CXX11_OVERRIDE