mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-17 23:52:49 +01:00
automode: join channels regardless of whether they're empty
This commit is contained in:
parent
0ead868546
commit
af744123e6
@ -40,7 +40,7 @@ def main(irc=None):
|
|||||||
netname, channel = entry.split('#', 1)
|
netname, channel = entry.split('#', 1)
|
||||||
channel = '#' + channel
|
channel = '#' + channel
|
||||||
log.debug('automode: auto-joining %s on %s', channel, netname)
|
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):
|
def die(irc=None):
|
||||||
"""Saves the Automode database and quit."""
|
"""Saves the Automode database and quit."""
|
||||||
|
Loading…
Reference in New Issue
Block a user