Add client sending the vote as a private variable.

This commit is contained in:
DSTO\pivatom
2019-01-14 11:17:26 +10:30
parent e122e572b6
commit 90d096a918

View File

@@ -1,8 +1,10 @@
from Messaging.packmessage import PackMessage
class Vote(PackMessage):
def __init__(self, vote = None):
def __init__(self, client, vote = None):
self._vote = vote
self._client = client
@property
def vote(self):