Now invoking handler.send instead of handler.sock.send
This commit is contained in:
parent
422d262ddf
commit
bee3050b95
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class Broadcast:
|
|||
if channel in self.channels:
|
||||
for handler in self.channels[channel]:
|
||||
if not handler in exclude:
|
||||
handler.sock.send(data, route)
|
||||
handler.send(data, route)
|
||||
else:
|
||||
raise Broadcast.ChannelError(channel)
|
||||
|
||||
|
|
Reference in a new issue