From bcc648adffda09d62ce60eebd00fe4ee8d9013e6 Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 11 May 2016 21:18:30 -0700 Subject: [PATCH] relay: support relaying more channel modes flood, flood_unreal, joinflood, freetarget, c_noforwards, and noinvite are whitelisted with this commit. --- plugins/relay.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index 0c3a74e..b78d20e 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -674,7 +674,9 @@ whitelisted_cmodes = {'admin', 'allowinvite', 'autoop', 'ban', 'banexception', 'noknock', 'nonick', 'nonotice', 'op', 'operonly', 'opmoderated', 'owner', 'private', 'regonly', 'regmoderated', 'secret', 'sslonly', 'adminonly', - 'stripcolor', 'topiclock', 'voice'} + 'stripcolor', 'topiclock', 'voice', 'flood', + 'flood_unreal', 'joinflood', 'freetarget', + 'c_noforwards', 'noinvite'} whitelisted_umodes = {'bot', 'hidechans', 'hideoper', 'invisible', 'oper', 'regdeaf', 'u_stripcolor', 'u_noctcp', 'wallops', 'hideidle'}