unicode everything

This commit is contained in:
Luke Rogers 2013-09-23 11:47:03 +12:00
parent 80d976ba23
commit afa81ae7c4
1 changed files with 2 additions and 2 deletions

View File

@ -23,10 +23,10 @@ class Input(dict):
if chan == nick: # PMs don't need prefixes
conn.msg(chan, msg)
else:
conn.msg(chan, '(' + nick + ') ' + msg)
conn.msg(chan, u'(' + nick + u') ' + msg)
def me(msg, chan=chan):
conn.msg(chan, "\x01{} {}\x01".format("ACTION", msg))
conn.msg(chan, u"\x01{} {}\x01".format("ACTION", msg))
def notice(msg, nick=nick):
conn.cmd('NOTICE', [nick, msg])