Browse Source

Fix #invite message for py3

master
Juhani Krekelä 2 years ago
parent
commit
cc71019578
  1. 2
      o2_botcmd.py

2
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]')

Loading…
Cancel
Save