ServerInstance->Users->all_opers.remove(this);
this->modes[UM_OPERATOR] = 0;
+ FOREACH_MOD(I_OnPostDeoper, OnPostDeoper(this));
}
/* adds or updates an entry in the whowas list */
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));
}