aboutsummaryrefslogtreecommitdiffstats
path: root/weechat
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-02-19 16:38:00 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-02-19 16:38:00 +0100
commit9408acaedf0356abb4ac1ceef9dd43a2f260216f (patch)
tree0742b57883d93936b414ae94e046804bb9fc56fb /weechat
parent060e1f4aba8c952b0508666c3b38b76c15d7c3a7 (diff)
downloaddotfiles-9408acaedf0356abb4ac1ceef9dd43a2f260216f.tar.xz
weechat: trigger: update outdated regex
Diffstat (limited to 'weechat')
-rw-r--r--weechat/trigger.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/weechat/trigger.conf b/weechat/trigger.conf
index 9ed7444..7364e5f 100644
--- a/weechat/trigger.conf
+++ b/weechat/trigger.conf
@@ -29,7 +29,7 @@ cmd_pass.command = ""
cmd_pass.conditions = ""
cmd_pass.enabled = on
cmd_pass.hook = modifier
-cmd_pass.regex = "==^((/(msg|quote) +nickserv +(id|identify|register|ghost \S+|release \S+|regain \S+) +)|/oper +\S+ +|/quote pass +|/set +\S*password\S* +|/secure +(passphrase|decrypt|set \S+) +)(.*)==$1$.*+"
+cmd_pass.regex = "==^((/(msg|quote) +nickserv +(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
cmd_pass.return_code = ok
msg_auth.arguments = "5000|irc_message_auth"
msg_auth.command = ""