3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-28 05:29:25 +01:00

coreplugin: mark service bots with umode +B

This commit is contained in:
James Lu 2016-05-20 20:59:19 -07:00
parent 98003318cd
commit 3ee240494e

View File

@ -209,7 +209,7 @@ def spawn_service(irc, source, command, args):
# Prefer spawning service clients with umode +io, plus hideoper and # Prefer spawning service clients with umode +io, plus hideoper and
# hidechans if supported. # hidechans if supported.
modes = [] modes = []
for mode in ('oper', 'hideoper', 'hidechans', 'invisible'): for mode in ('oper', 'hideoper', 'hidechans', 'invisible', 'bot'):
mode = irc.umodes.get(mode) mode = irc.umodes.get(mode)
if mode: if mode:
modes.append((mode, None)) modes.append((mode, None))