1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 06:05:42 +02:00

trigger: do not hide values of options with /set command in cmd_pass trigger

This commit is contained in:
Sébastien Helleu
2020-04-18 15:38:03 +02:00
parent 5394ca6e10
commit 0d126c44dd
3 changed files with 72 additions and 24 deletions
+1
View File
@@ -33,6 +33,7 @@ Bug fixes::
* core: fix memory leak in calculation of expression on FreeBSD (issue #1469)
* core: fix resize of a bar when its size is 0 (automatic) (issue #1470)
* python: fix crash when invalid UTF-8 string is in a WeeChat hashtable converted to a Python dict (issue #1463)
* trigger: do not hide values of options with /set command in cmd_pass trigger
Documentation::
+71 -22
View File
File diff suppressed because it is too large Load Diff
-2
View File
@@ -71,7 +71,6 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
* - /msg nickserv id|identify|ghost|release|regain|recover
* - /oper
* - /quote pass
* - /set *password*
* - /secure passphrase|decrypt|set
*/
{ "cmd_pass", "on",
@@ -84,7 +83,6 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
"recover +[^ ]+) +)|"
"/oper +[^ ]+ +|"
"/quote +pass +|"
"/set +[^ ]*password[^ ]* +|"
"/secure +(passphrase|decrypt|set +[^ ]+) +)"
"(.*)"
"==${re:1}${hide:*,${re:+}}",