mirror of
https://github.com/progval/Limnoria.git
synced 2025-05-03 17:01:05 -05: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…
x
Reference in New Issue
Block a user