mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-25 19:44:13 +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):
|
def do376(self, irc, msg):
|
||||||
channels = list(conf.supybot.channels())
|
channels = list(conf.supybot.channels())
|
||||||
|
if not channels:
|
||||||
|
return
|
||||||
utils.sortBy(lambda s: ',' not in s, channels)
|
utils.sortBy(lambda s: ',' not in s, channels)
|
||||||
keys = []
|
keys = []
|
||||||
chans = []
|
chans = []
|
||||||
|
Loading…
Reference in New Issue
Block a user