Add client sending the vote as a private variable.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user