From f4a07da0a27f292f176295be424a0969bdc02725 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 19 Apr 2012 11:38:21 +0200 Subject: [PATCH] rmodifier: add default rmodifier "quote_pass" to hide password in command "/quote pass" (bug #36250) --- ChangeLog | 4 +++- src/plugins/rmodifier/rmodifier-config.c | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 88ae4d5af..04c4d261d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ WeeChat ChangeLog ================= Sébastien Helleu -v0.3.8-dev, 2012-04-17 +v0.3.8-dev, 2012-04-19 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 "quote_pass" to hide password in command + "/quote pass" (bug #36250) * 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 diff --git a/src/plugins/rmodifier/rmodifier-config.c b/src/plugins/rmodifier/rmodifier-config.c index 80246b537..2609b132b 100644 --- a/src/plugins/rmodifier/rmodifier-config.c +++ b/src/plugins/rmodifier/rmodifier-config.c @@ -47,6 +47,9 @@ char *rmodifier_config_default_list[][4] = { "oper", "history_add,input_text_display", "^(/oper +\\S+ +)(.*)", "1,2*" }, + { "quote_pass", "history_add,input_text_display", + "^(/quote pass +)(.*)", "1,2*" + }, { "set_pass", "history_add", "^(/set +\\S*password\\S* +)(.*)", "1,2*" },