mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +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,6 +62,7 @@ class AdminCommands(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
channels.append(channel)
|
channels.append(channel)
|
||||||
irc.queueMsg(ircmsgs.joins(channels, keys))
|
irc.queueMsg(ircmsgs.joins(channels, keys))
|
||||||
for channel in channels:
|
for channel in channels:
|
||||||
|
if channel not in irc.state.channels:
|
||||||
irc.queueMsg(ircmsgs.who(channel))
|
irc.queueMsg(ircmsgs.who(channel))
|
||||||
|
|
||||||
def nick(self, irc, msg, args):
|
def nick(self, irc, msg, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user