mirror of
https://github.com/lalbornoz/roar.git
synced 2024-12-22 20:36:37 +00:00
pngbot.py:IrcMiRCARTBot.dispatch353(): skip empty nick specs.
This commit is contained in:
parent
a0db56a530
commit
ebd2ce9393
@ -118,7 +118,8 @@ class IrcMiRCARTBot(IrcBot):
|
||||
def dispatch353(self, message):
|
||||
if message[4].lower() == self.clientChannel.lower():
|
||||
for channelNickSpec in message[5].split(" "):
|
||||
if channelNickSpec[0] == "@" \
|
||||
if len(channelNickSpec) \
|
||||
and channelNickSpec[0] == "@" \
|
||||
and len(channelNickSpec[1:]):
|
||||
self.clientChannelOps.append(channelNickSpec[1:].lower())
|
||||
print("Authorising {} on {}".format(channelNickSpec[1:].lower(), message[4].lower()))
|
||||
|
Loading…
Reference in New Issue
Block a user