3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +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
# hidechans if supported.
modes = []
for mode in ('oper', 'hideoper', 'hidechans', 'invisible'):
for mode in ('oper', 'hideoper', 'hidechans', 'invisible', 'bot'):
mode = irc.umodes.get(mode)
if mode:
modes.append((mode, None))