diff options
| author | 2017-07-09 22:36:40 +0100 | |
|---|---|---|
| committer | 2017-07-09 22:45:00 +0100 | |
| commit | c0aba5b728b0a921d95ec120aa638dab1520b42f (patch) | |
| tree | 5470b2e12cc40ba8ea5cafe36fc254c73192cb48 /src/users.cpp | |
| parent | Merge pull request #1302 from Adam-/master+txt (diff) | |
| parent | Release v2.0.24 (diff) | |
Merge v2.0.23 and v2.0.24 into master.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index bdcc9edd0..d54931644 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -588,6 +588,7 @@ void LocalUser::FullConnect() void User::InvalidateCache() { /* Invalidate cache */ + cachedip.clear(); cached_fullhost.clear(); cached_hostip.clear(); cached_makehost.clear(); @@ -709,8 +710,7 @@ irc::sockets::cidr_mask User::GetCIDRMask() bool User::SetClientIP(const char* sip, bool recheck_eline) { - cachedip.clear(); - cached_hostip.clear(); + this->InvalidateCache(); return irc::sockets::aptosa(sip, 0, client_sa); } |
