From cc71019578a7444a2171e014dc8442e3ebda8632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sun, 25 Jul 2021 22:05:21 +0300 Subject: [PATCH] Fix #invite message for py3 --- o2_botcmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]')