mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
relay: reformat whitelisted mode lists
This commit is contained in:
parent
4a6f94f8fc
commit
5250e41a94
@ -726,20 +726,59 @@ def relay_part(irc, *args, **kwargs):
|
|||||||
|
|
||||||
iterate_all(irc, _relay_part_loop, extra_args=args, kwargs=kwargs)
|
iterate_all(irc, _relay_part_loop, extra_args=args, kwargs=kwargs)
|
||||||
|
|
||||||
whitelisted_cmodes = {'admin', 'allowinvite', 'autoop', 'ban', 'banexception',
|
whitelisted_cmodes = {
|
||||||
'blockcolor', 'halfop', 'invex', 'inviteonly', 'key',
|
'admin',
|
||||||
'limit', 'moderated', 'noctcp', 'noextmsg', 'nokick',
|
'adminonly',
|
||||||
'noknock', 'nonick', 'nonotice', 'op', 'operonly',
|
'allowinvite',
|
||||||
'opmoderated', 'owner', 'private', 'quiet', 'regonly',
|
'autoop',
|
||||||
'regmoderated', 'secret', 'sslonly', 'adminonly',
|
'ban',
|
||||||
'stripcolor', 'topiclock', 'voice', 'flood',
|
'banexception',
|
||||||
'flood_unreal', 'joinflood', 'freetarget',
|
'blockcolor',
|
||||||
'noforwards', 'noinvite'}
|
'flood',
|
||||||
whitelisted_umodes = {'bot', 'hidechans', 'hideoper', 'invisible', 'oper',
|
'flood_unreal',
|
||||||
'regdeaf', 'stripcolor', 'noctcp', 'wallops',
|
'freetarget',
|
||||||
'hideidle'}
|
'halfop',
|
||||||
clientbot_whitelisted_cmodes = {'admin', 'ban', 'banexception',
|
'invex',
|
||||||
'halfop', 'invex', 'op', 'owner', 'voice'}
|
'inviteonly',
|
||||||
|
'joinflood',
|
||||||
|
'key',
|
||||||
|
'limit',
|
||||||
|
'moderated',
|
||||||
|
'noctcp',
|
||||||
|
'noextmsg',
|
||||||
|
'noforwards',
|
||||||
|
'noinvite',
|
||||||
|
'nokick',
|
||||||
|
'noknock',
|
||||||
|
'nonick',
|
||||||
|
'nonotice',
|
||||||
|
'op',
|
||||||
|
'operonly',
|
||||||
|
'opmoderated',
|
||||||
|
'owner',
|
||||||
|
'private',
|
||||||
|
'quiet',
|
||||||
|
'regmoderated',
|
||||||
|
'regonly',
|
||||||
|
'secret',
|
||||||
|
'sslonly',
|
||||||
|
'stripcolor',
|
||||||
|
'topiclock',
|
||||||
|
'voice'
|
||||||
|
}
|
||||||
|
whitelisted_umodes = {
|
||||||
|
'bot',
|
||||||
|
'hidechans',
|
||||||
|
'hideidle',
|
||||||
|
'hideoper',
|
||||||
|
'invisible',
|
||||||
|
'noctcp',
|
||||||
|
'oper',
|
||||||
|
'regdeaf',
|
||||||
|
'stripcolor',
|
||||||
|
'wallops'
|
||||||
|
}
|
||||||
|
clientbot_whitelisted_cmodes = {'admin', 'ban', 'banexception', 'halfop', 'invex', 'op', 'owner', 'voice'}
|
||||||
modesync_options = ('none', 'half', 'full')
|
modesync_options = ('none', 'half', 'full')
|
||||||
def get_supported_cmodes(irc, remoteirc, channel, modes):
|
def get_supported_cmodes(irc, remoteirc, channel, modes):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user