mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Don't send JOIN if we don't join anything.
This commit is contained in:
parent
2b87b4d949
commit
5419ed05f4
@ -67,6 +67,8 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg):
|
||||
|
||||
def do376(self, irc, msg):
|
||||
channels = list(conf.supybot.channels())
|
||||
if not channels:
|
||||
return
|
||||
utils.sortBy(lambda s: ',' not in s, channels)
|
||||
keys = []
|
||||
chans = []
|
||||
|
Loading…
Reference in New Issue
Block a user