mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
coreplugin: mark service bots with umode +B
This commit is contained in:
parent
98003318cd
commit
3ee240494e
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user