diff options
| author | 2023-07-22 09:19:00 +0100 | |
|---|---|---|
| committer | 2023-07-22 09:19:00 +0100 | |
| commit | d5aa7ccda55ab80e58db35f9d3138eca209d7b0a (patch) | |
| tree | 33a504b3bb92d8554343e64708db56ac499a6bfa /src/users.cpp | |
| parent | Fix the filter module preventing access to core stats. (diff) | |
| parent | Experiment with some linker flags on Windows to speed up the build. (diff) | |
| download | inspircd++-d5aa7ccda55ab80e58db35f9d3138eca209d7b0a.tar.gz inspircd++-d5aa7ccda55ab80e58db35f9d3138eca209d7b0a.tar.bz2 inspircd++-d5aa7ccda55ab80e58db35f9d3138eca209d7b0a.zip | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 69b8a7244..c901709d2 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -954,7 +954,10 @@ void User::ChangeRealHost(const std::string& newhost, bool resetdisplay) // If we are just resetting the display host then we don't need to // do anything else. if (!changehost) + { + InvalidateCache(); return; + } // Don't call the OnChangeRealHost event when initialising a user. const bool initializing = realhost.empty(); |
