From 508f224af95501ccc9efb56306be788d3edc8061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 10 Mar 2019 18:27:59 +0100 Subject: relay: add forbidden commands /wait and /repeat in weechat protocol (issue #928) --- src/plugins/relay/relay-config.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c index bce42c2b0..8e96ce8d7 100644 --- a/src/plugins/relay/relay-config.c +++ b/src/plugins/relay/relay-config.c @@ -1043,8 +1043,26 @@ relay_config_init () "are not allowed (they could lead to denial of service or remote " "code execution if the client is not trusted)"), NULL, 0, 0, - "*,!exec,!fset,!set,!unset,!plugin,!script,!python,!perl,!ruby,!lua," - "!tcl,!guile,!javascript,!php,!secure,!upgrade,!quit", + "*," + "!exec," + "!fset," + "!guile," + "!javascript," + "!lua," + "!perl," + "!php," + "!plugin," + "!python," + "!quit," + "!repeat," + "!ruby," + "!script," + "!secure," + "!set," + "!tcl," + "!unset," + "!upgrade," + "!wait", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, -- cgit v1.2.3