diff options
author | Peter Powell <petpow@saberuk.com> | 2017-11-12 17:33:21 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-11-12 17:33:21 +0000 |
commit | d23c030c9a8fd58807438245a004e4aa5b7288ba (patch) | |
tree | d1207d9f811ba486470ac3869052b0bc2180f758 /src/users.cpp | |
parent | 2b94e7dcc072d923a3f3e8830dab9b45caaea118 (diff) | |
parent | 53d822a7d19aded988ee74eb05437e587cb1ac92 (diff) |
Merge tag 'v2.0.25' into master.
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index aa5031b2b..397a13267 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -730,8 +730,7 @@ bool User::SetClientIP(const std::string& address, bool recheck_eline) void User::SetClientIP(const irc::sockets::sockaddrs& sa, bool recheck_eline) { - cachedip.clear(); - cached_hostip.clear(); + this->InvalidateCache(); memcpy(&client_sa, &sa, sizeof(irc::sockets::sockaddrs)); } |