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:
parent
123e72d162
commit
aa05dcd112
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user