Don't produce errors if a user is already logged in and trying again.

This commit is contained in:
Jan Vidar Krey 2009-03-16 12:46:29 +01:00
parent f396902c57
commit 1e6f0a392a

View File

@ -331,7 +331,7 @@ static int check_logged_in(struct user* user, struct adc_message* cmd)
{ {
if (lookup1 == lookup2) if (lookup1 == lookup2)
{ {
hub_log(log_error, "check_logged_in: exact same user is logged in: %s", user->id.nick); hub_log(log_debug, "check_logged_in: exact same user is logged in: %s", user->id.nick);
user_disconnect(lookup1, quit_timeout); user_disconnect(lookup1, quit_timeout);
return 0; return 0;
} }