From 99c0cc28294766311a32b649130c61916f2001d2 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Tue, 12 Apr 2011 00:50:44 -0400 Subject: [PATCH] Fix ACTION commands --- irc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/irc.py b/irc.py index f866e55..42a6fb4 100755 --- a/irc.py +++ b/irc.py @@ -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):