mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-12 05:02:33 +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'
|
ident = irc.botdata.get('ident') or 'pylink'
|
||||||
host = irc.serverdata["hostname"]
|
host = irc.serverdata["hostname"]
|
||||||
modes = []
|
modes = []
|
||||||
for mode in ('oper', 'hideoper', 'hidechans'):
|
for mode in ('oper', 'hideoper', 'hidechans', 'invisible'):
|
||||||
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