]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix firing the wrong event when a real hostname changes.
authorSadie Powell <sadie@witchery.services>
Thu, 8 Oct 2020 21:20:42 +0000 (22:20 +0100)
committerSadie Powell <sadie@witchery.services>
Thu, 8 Oct 2020 21:47:28 +0000 (22:47 +0100)
src/users.cpp

index 8270e2d0ec6907a55af87cd17bf1443241600b36..a99b51c2ce714cd069f30527d39b089063774f3c 100644 (file)
@@ -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();
 }