Don't produce errors if a user is already logged in and trying again.
This commit is contained in:
parent
f396902c57
commit
1e6f0a392a
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user