actually fix intermittent disconnections
parent
241084db6f
commit
2f2d365113
2
bot.py
2
bot.py
|
@ -205,7 +205,7 @@ class Phenny(irc.Bot):
|
||||||
|
|
||||||
def dispatch(self, origin, args):
|
def dispatch(self, origin, args):
|
||||||
bytes, event, args = args[0], args[1], args[2:]
|
bytes, event, args = args[0], args[1], args[2:]
|
||||||
text = decode(bytes)
|
text = str(bytes)
|
||||||
event = decode(event)
|
event = decode(event)
|
||||||
|
|
||||||
if origin.nick in self.config.ignore:
|
if origin.nick in self.config.ignore:
|
||||||
|
|
Loading…
Reference in New Issue