summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-05-07 13:58:31 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-05-07 13:58:31 +0200
commitda8353c54f050d3a277c53b441acfb616765a5a9 (patch)
tree145f06903f8a3378f5a17e897988bbd516331181
parent44c96f6abf6693d728d24ea630d100f6a1d1af8b (diff)
downloadweechat-da8353c54f050d3a277c53b441acfb616765a5a9.zip
relay: change default value of option "relay.network.commands" to `*,!quit`
-rw-r--r--ChangeLog.adoc1
-rw-r--r--src/plugins/relay/relay-config.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index 98acd2e41..62794c58e 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -47,6 +47,7 @@ New features::
* relay: add support of websocket extension "permessage-deflate" (issue #1549)
* relay: add command `/remote` to manage remote WeeChat relay servers and connect to them (issue #2066)
* relay: add option relay.api.remote_get_lines (issue #2066)
+ * relay: change default value of option "relay.network.commands" to `*,!quit`
* script: add option `enable` in command `/script`
* script: add info "script_loaded"
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c
index f41af69e5..e58d29d6c 100644
--- a/src/plugins/relay/relay-config.c
+++ b/src/plugins/relay/relay-config.c
@@ -1599,7 +1599,7 @@ relay_config_init ()
"if the relay client is not safe (someone could use it to run "
"commands); for example \"*,!exec,!quit\" allows any command "
"except /exec and /quit"),
- NULL, 0, 0, "", NULL, 0,
+ NULL, 0, 0, "*,!quit", NULL, 0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);