unicode everything
This commit is contained in:
parent
80d976ba23
commit
afa81ae7c4
1 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@ class Input(dict):
|
||||||
if chan == nick: # PMs don't need prefixes
|
if chan == nick: # PMs don't need prefixes
|
||||||
conn.msg(chan, msg)
|
conn.msg(chan, msg)
|
||||||
else:
|
else:
|
||||||
conn.msg(chan, '(' + nick + ') ' + msg)
|
conn.msg(chan, u'(' + nick + u') ' + msg)
|
||||||
|
|
||||||
def me(msg, chan=chan):
|
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):
|
def notice(msg, nick=nick):
|
||||||
conn.cmd('NOTICE', [nick, msg])
|
conn.cmd('NOTICE', [nick, msg])
|
||||||
|
|
Reference in a new issue