diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-11-13 15:41:31 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-11-13 15:41:31 +0100 |
commit | 05d31b476bd2e17577278c420dce08cd935927b9 (patch) | |
tree | fe0b91d669bd68585f654f0afd59a1af828dd56c /src | |
parent | 50edb33f1c4b11e7c82c1608f535a8bfd4449269 (diff) | |
download | weechat-05d31b476bd2e17577278c420dce08cd935927b9.zip |
trigger: hide key and password in command "/msg nickserv setpass nick key password"
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/trigger/trigger-config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/trigger/trigger-config.c b/src/plugins/trigger/trigger-config.c index ddc9b9843..2e0fd5e63 100644 --- a/src/plugins/trigger/trigger-config.c +++ b/src/plugins/trigger/trigger-config.c @@ -77,6 +77,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = * - /msg [-server <name>] nickserv release <nick> <password> * - /msg [-server <name>] nickserv regain <nick> <password> * - /msg [-server <name>] nickserv recover <nick> <password> + * - /msg [-server <name>] nickserv setpass <nick> <key> <password> * - /oper <nick> <password> * - /quote pass <password> * - /secure passphrase <passphrase> @@ -95,7 +96,8 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = "ghost +[^ ]+|" "release +[^ ]+|" "regain +[^ ]+|" - "recover +[^ ]+" + "recover +[^ ]+|" + "setpass +[^ ]+" ") +)|" "/oper +[^ ]+ +|" "/quote +pass +|" |