Fix bug in relay unsubscribing

This commit is contained in:
Mark Veidemanis 2019-03-23 18:22:46 +00:00
parent 29424383de
commit 38cabc0472
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class Relay(Protocol):
if not i in self.subscriptions: if not i in self.subscriptions:
self.sendErr("NOTSUBSCRIBED") self.sendErr("NOTSUBSCRIBED")
return return
del self.subscriptions[i] del self.subscriptions[i]
self.sendMsg({"type": "success"}) self.sendMsg({"type": "success"})
return return