From 5f71fbdbffeecff18914fbe523e795a1d7680b47 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 8 Oct 2020 22:20:42 +0100 Subject: Fix firing the wrong event when a real hostname changes. --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') 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(); } -- cgit v1.3.1-10-gc9f91