diff options
author | Sadie Powell <sadie@witchery.services> | 2020-10-08 22:20:42 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-10-08 22:47:28 +0100 |
commit | 5f71fbdbffeecff18914fbe523e795a1d7680b47 (patch) | |
tree | e9724da3ab742da5c1a508e925b9ad2deef56543 /src/users.cpp | |
parent | b78e9d4af214d09227fd528a95acb54508a5d5bc (diff) |
Fix firing the wrong event when a real hostname changes.
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 2 |
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(); } |