void update(const std::string& ip, const time_t current_time, bool changed_to_online);
- bool update_allowed(const time_t current_time, bool changed_to_online);
+ bool update_allowed(const time_t current_time, bool changed_to_online, const std::string& ip_host);
void set_last_update(const time_t current_time, const std::string& ip);