Fix ACTION commands

This commit is contained in:
mutantmonkey
2011-04-12 00:50:44 -04:00
parent 20a8d88b86
commit 99c0cc2829

3
irc.py
View File

@@ -155,7 +155,8 @@ class Bot(asynchat.async_chat):
self.sending.release()
def action(self, recipient, text):
textu = unicode(chr(1) + "ACTION %s" % text)
text = "ACTION %s" % text
textu = chr(1) + text + chr(1)
return self.msg(recipient, textu)
def notice(self, dest, text):