1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

relay: add forbidden commands /wait and /repeat in weechat protocol (issue #928)

This commit is contained in:
Sébastien Helleu
2019-03-10 18:27:59 +01:00
parent 2b70d71aa1
commit 508f224af9
7 changed files with 26 additions and 8 deletions
+20 -2
View File
@@ -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,