pngbot.py:IrcMiRCARTBot.dispatch353(): correctly print channel name.

This commit is contained in:
Lucio Andrés Illanes Albornoz 2018-01-02 23:38:32 +01:00
parent f4218e8ae1
commit 8f29ba4e16

View File

@ -114,7 +114,7 @@ class IrcMiRCARTBot(IrcBot):
if channelNickSpec[0] == "@" \
and len(channelNickSpec[1:]):
self.clientChannelOps.append(channelNickSpec[1:].lower())
print("Authorising {} on {}".format(channelNickSpec[1:].lower(), message[2].lower()))
print("Authorising {} on {}".format(channelNickSpec[1:].lower(), message[4].lower()))
# }}}
# {{{ dispatchMode(): Dispatch single MODE message from server
def dispatchMode(self, message):