trigger: do not hide email in command "/msg nickserv register password email" (closes #849)
This commit is contained in:
parent
d33c6d8a9d
commit
68d5a89b3d
@ -21,6 +21,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
Improvements::
|
||||
|
||||
* irc: change default value of option irc.network.lag_reconnect to 300 (issue #818)
|
||||
* trigger: do not hide email in command "/msg nickserv register password email" (issue #849)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
|
@ -17,6 +17,21 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file _ChangeLog.adoc_ in sources).
|
||||
|
||||
|
||||
[[v1.7]]
|
||||
== Version 1.7 (under dev)
|
||||
|
||||
A new trigger "cmd_pass_register" has been added to hide only password and not
|
||||
email in command `/msg nickserv register password email`. +
|
||||
The existing trigger "cmd_pass" has been updated to hide password in all
|
||||
commands except `/msg nickserv register`.
|
||||
|
||||
You can add the new trigger and restore the other one with the following
|
||||
command:
|
||||
|
||||
----
|
||||
/trigger restore cmd_pass_register cmd_pass
|
||||
----
|
||||
|
||||
[[v1.6]]
|
||||
== Version 1.6 (2016-10-02)
|
||||
|
||||
|
@ -59,14 +59,14 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
|
||||
"/print -beep",
|
||||
"ok",
|
||||
"" },
|
||||
/* hide passwords in commands */
|
||||
/* hide passwords in commands (except "/msg nickserv register") */
|
||||
{ "cmd_pass", "on",
|
||||
"modifier",
|
||||
"5000|input_text_display;5000|history_add;5000|irc_command_auth",
|
||||
"",
|
||||
"==^("
|
||||
"(/(msg|m|quote) +nickserv "
|
||||
"+(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|"
|
||||
"+(id|identify|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|"
|
||||
"recover +[^ ]+) +)|"
|
||||
"/oper +[^ ]+ +|"
|
||||
"/quote +pass +|"
|
||||
@ -77,6 +77,16 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
|
||||
"",
|
||||
"",
|
||||
"" },
|
||||
/* hide passwords in command "/msg nickserv register" */
|
||||
{ "cmd_pass_register", "on",
|
||||
"modifier",
|
||||
"5000|input_text_display;5000|history_add;5000|irc_command_auth",
|
||||
"",
|
||||
"==^(/(msg|m|quote) +nickserv +register +)([^ ]+)(.*)"
|
||||
"==${re:1}${hide:*,${re:3}}${re:4}",
|
||||
"",
|
||||
"",
|
||||
"" },
|
||||
/* hide password in IRC auth message displayed */
|
||||
{ "msg_auth", "on",
|
||||
"modifier",
|
||||
|
Loading…
x
Reference in New Issue
Block a user