1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

rmodifier: add default rmodifier "server" to hide passwords in commands /server and /connect (task #11993)

This commit is contained in:
Sebastien Helleu
2012-04-17 12:29:14 +02:00
parent 477e9a609c
commit 81a8119a08
2 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.8-dev, 2012-04-11
v0.3.8-dev, 2012-04-17
Version 0.3.8 (under dev!)
@@ -59,6 +59,8 @@ Version 0.3.8 (under dev!)
ison, list, names, topic, who, whois, whowas, time, userhost) (bug #33516)
* relay: add "date_printed" and "highlight" in signal "_buffer_line_added"
(WeeChat protocol)
* rmodifier: add default rmodifier "server" to hide passwords in commands
/server and /connect (task #11993)
* rmodifier: add option "release" in default rmodifier "nickserv" (used to hide
passwords in command "/msg nickserv") (bug #35705)
* tcl: add missing function "hdata_char" in API
+3
View File
@@ -41,6 +41,9 @@ char *rmodifier_config_default_list[][4] =
{ "nickserv", "history_add,input_text_display",
"^(/(msg|quote) +nickserv +(id|identify|ghost \\S+|release \\S+) +)(.*)", "1,4*"
},
{ "server", "history_add,input_text_display",
"^(/(server|connect) .*-(sasl_)?password=)(\\S+)(.*)", "1,4*,5"
},
{ "oper", "history_add,input_text_display",
"^(/oper +\\S+ +)(.*)", "1,2*"
},