1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

trigger: add recover to cmd_pass/msg_auth, and regain to msg_auth

This commit is contained in:
Juan Francisco Cantero Hurtado
2015-08-31 19:33:21 +02:00
parent 4b2abd910b
commit 7551b8db0c
+2 -2
View File
@@ -64,7 +64,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
"",
"==^("
"(/(msg|m|quote) +nickserv "
"+(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+) +)|"
"+(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)|"
"/oper +[^ ]+ +|"
"/quote +pass +|"
"/set +[^ ]*password[^ ]* +|"
@@ -78,7 +78,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
"modifier",
"5000|irc_message_auth",
"",
"==^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+) +)(.*)"
"==^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)(.*)"
"==${re:1}${hide:*,${re:+}}",
"",
"" },