mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
relay: fix a typo: CLIENTBOT_WHITELISTED_UMODES -> CLIENTBOT_WHITELISTED_CMODES
This commit is contained in:
parent
310ad345a3
commit
c978e1c52f
@ -881,7 +881,7 @@ WHITELISTED_UMODES = {
|
|||||||
'stripcolor',
|
'stripcolor',
|
||||||
'wallops'
|
'wallops'
|
||||||
}
|
}
|
||||||
CLIENTBOT_WHITELISTED_UMODES = {'admin', 'ban', 'banexception', 'halfop', 'invex', 'op', 'owner', 'voice'}
|
CLIENTBOT_WHITELISTED_CMODES = {'admin', 'ban', 'banexception', 'halfop', 'invex', 'op', 'owner', 'voice'}
|
||||||
CLIENTBOT_MODESYNC_OPTIONS = ('none', 'half', 'full')
|
CLIENTBOT_MODESYNC_OPTIONS = ('none', 'half', 'full')
|
||||||
def get_supported_cmodes(irc, remoteirc, channel, modes):
|
def get_supported_cmodes(irc, remoteirc, channel, modes):
|
||||||
"""
|
"""
|
||||||
@ -903,7 +903,7 @@ def get_supported_cmodes(irc, remoteirc, channel, modes):
|
|||||||
if modesync == 'none':
|
if modesync == 'none':
|
||||||
return [] # Do nothing
|
return [] # Do nothing
|
||||||
elif modesync == 'half':
|
elif modesync == 'half':
|
||||||
whitelist = CLIENTBOT_WHITELISTED_UMODES
|
whitelist = CLIENTBOT_WHITELISTED_CMODES
|
||||||
|
|
||||||
supported_modes = []
|
supported_modes = []
|
||||||
for modepair in modes:
|
for modepair in modes:
|
||||||
|
Loading…
Reference in New Issue
Block a user