1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56: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
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*"
},