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:
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
|
# 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))
|
||||||
|
Loading…
Reference in New Issue
Block a user