trigger: hide password in command "/msg nickserv set password"

v2.8-utf8proc
Sébastien Helleu 2018-05-31 21:14:57 +02:00
parent 4592c9438f
commit 1587674e9b
3 changed files with 14 additions and 1 deletions

View File

@ -31,6 +31,7 @@ New features::
* irc: display current nick on connected servers in output of /server list|listfull (issue #1193)
* irc: add option "-server" in command /list (issue #1165)
* irc: add indexed ban list, add completion for /unban and /unquiet (issue #597, task #11374, task #10876)
* trigger: hide password in command "/msg nickserv set password"
* xfer: add option xfer.network.send_ack (issue #1171)
Bug fixes::

View File

@ -20,6 +20,18 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
[[v2.2]]
== Version 2.2 (under dev)
[[v2.2_default_triggers]]
=== Default triggers
The existing trigger "cmd_pass" has been updated to hide password in command
`/msg nickserv set password`.
You can restore the default trigger with the following command:
----
/trigger restore cmd_pass
----
[[v2.2_irc_signals_tags]]
=== Tags in IRC "in" signals

View File

@ -80,7 +80,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
"",
"==^("
"(/(msg|m|quote) +nickserv "
"+(id|identify|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|"
"+(id|identify|set +password|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|"
"recover +[^ ]+) +)|"
"/oper +[^ ]+ +|"
"/quote +pass +|"