Skip to content

Commit

Permalink
Add missing return inside target_player wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
godwhoa committed Aug 17, 2019
1 parent 4a02120 commit 3c766cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piqueserver/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def _decorated(connection, *args, **kwargs):
# console or irc invokers are required to provide a target
else:
raise ValueError("Target player is required")
func(connection, *args, **kwargs)
return func(connection, *args, **kwargs)
return _decorated

def get_player(protocol, value: str, spectators=True):
Expand Down

0 comments on commit 3c766cb

Please sign in to comment.