mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix small oversight
This commit is contained in:
parent
1038ba786e
commit
2faf92ee17
@ -159,7 +159,7 @@ void _KickID_f_CompletionFunc(const CCommand& args)
|
||||
}
|
||||
else // If its not try by userID.
|
||||
{
|
||||
std::int64_t clientID = static_cast<std::int64_t>(client->GetOriginID() + 1); // Get UserID + 1.
|
||||
std::int64_t clientID = static_cast<std::int64_t>(client->GetUserID() + 1); // Get UserID + 1.
|
||||
if (clientID != ID)
|
||||
{
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user