Fix #invite message for py3
This commit is contained in:
parent
cdddf8fd65
commit
cc71019578
|
@ -573,7 +573,7 @@ def parse(nick, chan, command, arguments, irc):
|
||||||
irc.bot_response(nick, '%s: %s' % (chan.decode(), line))
|
irc.bot_response(nick, '%s: %s' % (chan.decode(), line))
|
||||||
trustedlock.release()
|
trustedlock.release()
|
||||||
elif matchcmd(cmdline, '#invite'):
|
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'):
|
elif matchcmd(cmdline, '#help'):
|
||||||
if matchcmd(cmdline, '#help', '[command]'):
|
if matchcmd(cmdline, '#help', '[command]'):
|
||||||
command = parsecmd(cmdline, '[command]')
|
command = parsecmd(cmdline, '[command]')
|
||||||
|
|
Loading…
Reference in New Issue