3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

coreplugin: set invisible (umode +i) on service clients

This commit is contained in:
James Lu 2016-05-14 12:01:12 -07:00
parent 123e72d162
commit aa05dcd112

View File

@ -204,7 +204,7 @@ def handle_newservice(irc, source, command, args):
ident = irc.botdata.get('ident') or 'pylink'
host = irc.serverdata["hostname"]
modes = []
for mode in ('oper', 'hideoper', 'hidechans'):
for mode in ('oper', 'hideoper', 'hidechans', 'invisible'):
mode = irc.umodes.get(mode)
if mode:
modes.append((mode, None))