Fixed return value in CheckMultiLogin()
This commit is contained in:
parent
4b08ca261b
commit
3a2759fdc1
@ -1816,8 +1816,9 @@ bool cClientHandle::CheckMultiLogin(const AString & a_Username)
|
|||||||
if (cRoot::Get()->DoWithPlayer(a_Username, Callback))
|
if (cRoot::Get()->DoWithPlayer(a_Username, Callback))
|
||||||
{
|
{
|
||||||
Kick("A player of the username is already logged in");
|
Kick("A player of the username is already logged in");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user