summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 8270e2d0e..a99b51c2c 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1075,7 +1075,7 @@ void User::ChangeRealHost(const std::string& host, bool resetdisplay)
if (!changehost)
return;
- FOREACH_MOD(OnChangeHost, (this, host));
+ FOREACH_MOD(OnChangeRealHost, (this, host));
realhost = host;
this->InvalidateCache();
}