Skip to content

Commit

Permalink
Remove ownership check from InnerVoteBanSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak committed Apr 21, 2021
1 parent 283f59b commit 901deef
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ public override async ValueTask<bool> HandleRpcAsync(ClientPlayer sender, Client
{
if (call == RpcCalls.AddVote)
{
if (!await ValidateOwnership(call, sender))
{
return false;
}

Rpc26AddVote.Deserialize(reader, out var clientId, out var targetClientId);

if (clientId != sender.Client.Id)
Expand Down

0 comments on commit 901deef

Please sign in to comment.