Fix bug in relay unsubscribing
This commit is contained in:
parent
29424383de
commit
38cabc0472
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue