mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Use InvalidateCache in the sockaddrs overload of OnSetClientIP.
This was done to the string variant in d3b82b2f7f.
This commit is contained in:
parent
473d990d62
commit
52de083afc
@ -1008,8 +1008,7 @@ bool User::SetClientIP(const char* sip, 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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user