diff --git a/o2_botcmd.py b/o2_botcmd.py index 0367cea..f527b01 100644 --- a/o2_botcmd.py +++ b/o2_botcmd.py @@ -573,7 +573,7 @@ def parse(nick, chan, command, arguments, irc): irc.bot_response(nick, '%s: %s' % (chan.decode(), line)) trustedlock.release() elif matchcmd(cmdline, '#invite'): - irc.bot_response(chan, '%s: #invite has been removed. Use manual invite' % nick) + irc.bot_response(chan, '%s: #invite has been removed. Use manual invite' % nick.decode()) elif matchcmd(cmdline, '#help'): if matchcmd(cmdline, '#help', '[command]'): command = parsecmd(cmdline, '[command]')