From c978e1c52fbd12af0ef2c94bde5dc8514452b81f Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 30 Mar 2018 12:01:38 -0700 Subject: [PATCH] relay: fix a typo: CLIENTBOT_WHITELISTED_UMODES -> CLIENTBOT_WHITELISTED_CMODES --- plugins/relay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/relay.py b/plugins/relay.py index 9abe46a..aba1776 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -881,7 +881,7 @@ WHITELISTED_UMODES = { 'stripcolor', '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') def get_supported_cmodes(irc, remoteirc, channel, modes): """ @@ -903,7 +903,7 @@ def get_supported_cmodes(irc, remoteirc, channel, modes): if modesync == 'none': return [] # Do nothing elif modesync == 'half': - whitelist = CLIENTBOT_WHITELISTED_UMODES + whitelist = CLIENTBOT_WHITELISTED_CMODES supported_modes = [] for modepair in modes: