3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

automode: join channels regardless of whether they're empty

This commit is contained in:
James Lu 2018-04-17 15:21:56 -07:00
parent 0ead868546
commit af744123e6

View File

@ -40,7 +40,7 @@ def main(irc=None):
netname, channel = entry.split('#', 1)
channel = '#' + channel
log.debug('automode: auto-joining %s on %s', channel, netname)
modebot.join(netname, channel)
modebot.join(netname, channel, ignore_empty=True)
def die(irc=None):
"""Saves the Automode database and quit."""