more python3 fixes

This commit is contained in:
mutantmonkey
2011-09-22 15:04:19 -04:00
parent baf5403066
commit 800b78a02f
5 changed files with 12 additions and 12 deletions

2
bot.py
View File

@@ -228,7 +228,7 @@ class Phenny(irc.Bot):
t.start()
else: self.call(func, origin, phenny, input)
for source in [origin.sender, origin.nick]:
for source in [decode(origin.sender), decode(origin.nick)]:
try: self.stats[(func.name, source)] += 1
except KeyError:
self.stats[(func.name, source)] = 1