Fix message decoding: not all parameters was decoded

This commit is contained in:
nemunaire 2014-09-08 01:55:36 +02:00
parent c13173e62c
commit 04bde60482
2 changed files with 2 additions and 2 deletions

View file

@ -124,7 +124,7 @@ class MessageConsumer:
self.srv._on_connect()
elif msg.cmd == "PING":
self.srv.write("%s :%s" % ("PONG", msg.decode(msg.params[0])))
self.srv.write("%s :%s" % ("PONG", msg.params[0]))
else:
for h in hm.get_hooks("in", msg.cmd, msg.qual):