diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-03-10 18:27:59 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-03-10 18:29:22 +0100 |
commit | 508f224af95501ccc9efb56306be788d3edc8061 (patch) | |
tree | cc264793b575f28f1d54d3b484407e0fcc3723fd /src | |
parent | 2b70d71aa1c891f2f251aa775cf239e5611576d5 (diff) | |
download | weechat-508f224af95501ccc9efb56306be788d3edc8061.zip |
relay: add forbidden commands /wait and /repeat in weechat protocol (issue #928)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/relay/relay-config.c | 22 |
1 files changed, 20 insertions, 2 deletions
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, |