Don't send JOIN if we don't join anything.

This commit is contained in:
Stéphan Kochen 2004-06-23 15:43:00 +00:00
parent 2b87b4d949
commit 5419ed05f4

View File

@ -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 = []