summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-03-04 12:38:54 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-04 12:38:54 +0100
commit2b2c729854fbb04e7bca3a90b4a92bac4b5a4149 (patch)
treec832f36d87dcec5ab1da4557e3f4399fee34f7bf /src
parent3c398bd61d9154c5c23b3a57a675d451d4d8c1fc (diff)
downloadweechat-2b2c729854fbb04e7bca3a90b4a92bac4b5a4149.zip
trigger: add some missing "+" after spaces in regex of default triggers cmd_pass/msg_auth
Diffstat (limited to 'src')
-rw-r--r--src/plugins/trigger/trigger-config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/trigger/trigger-config.c b/src/plugins/trigger/trigger-config.c
index 970929d77..90ae7fd1f 100644
--- a/src/plugins/trigger/trigger-config.c
+++ b/src/plugins/trigger/trigger-config.c
@@ -64,11 +64,11 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
"",
"==^("
"(/(msg|quote) +nickserv "
- "+(id|identify|register|ghost \\S+|release \\S+|regain \\S+) +)|"
+ "+(id|identify|register|ghost +\\S+|release +\\S+|regain +\\S+) +)|"
"/oper +\\S+ +|"
- "/quote pass +|"
+ "/quote +pass +|"
"/set +\\S*password\\S* +|"
- "/secure +(passphrase|decrypt|set \\S+) +)"
+ "/secure +(passphrase|decrypt|set +\\S+) +)"
"(.*)"
"==$1$.*+",
"",
@@ -78,7 +78,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
"modifier",
"5000|irc_message_auth",
"",
- "==^(.*(id|identify|register|ghost \\S+|release \\S+) +)(.*)==$1$.*+",
+ "==^(.*(id|identify|register|ghost +\\S+|release +\\S+) +)(.*)==$1$.*+",
"",
"" },
/* hide server password in commands /server and /connect */