Dont clear the timer, instead set the TIMEOUT_IDLE when logging in (for now at least)

This commit is contained in:
Jan Vidar Krey 2009-08-04 01:07:12 +02:00
parent 9f784e808e
commit faaa3d14e4
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ void on_login_success(struct hub_info* hub, struct hub_user* u)
hub_send_motd(hub, u);
/* reset timeout */
net_con_clear_timeout(&u->net.connection);
net_con_set_timeout(&u->net.connection, TIMEOUT_IDLE);
}
void on_login_failure(struct hub_info* hub, struct hub_user* u, enum status_message msg)