mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Made the join command not send the WHO command if the bot is already on the channel.
This commit is contained in:
parent
fa53cf34d5
commit
5adbaf5be4
@ -62,7 +62,8 @@ class AdminCommands(privmsgs.CapabilityCheckingPrivmsg):
|
||||
channels.append(channel)
|
||||
irc.queueMsg(ircmsgs.joins(channels, keys))
|
||||
for channel in channels:
|
||||
irc.queueMsg(ircmsgs.who(channel))
|
||||
if channel not in irc.state.channels:
|
||||
irc.queueMsg(ircmsgs.who(channel))
|
||||
|
||||
def nick(self, irc, msg, args):
|
||||
"""<nick>
|
||||
|
Loading…
Reference in New Issue
Block a user