Escalate user_disconnect to an error in case of a "ghost login". I want to see them in logs.

This commit is contained in:
Jan Vidar Krey 2009-03-04 18:44:53 +01:00
parent d4c8b657bf
commit c02c45f2d0
1 changed files with 1 additions and 1 deletions

View File

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