diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-02 15:43:27 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-02 15:43:27 +0100 |
commit | f101f253b403e4b36a6c7b59ab9a6ef51df5ad71 (patch) | |
tree | 62425eb393c72cc8a5ca1f5447235a7e07563c3c | |
parent | b9c0a4931de101141bcb2364b579d34844a3f5c9 (diff) | |
download | prosody-f101f253b403e4b36a6c7b59ab9a6ef51df5ad71.tar.gz prosody-f101f253b403e4b36a6c7b59ab9a6ef51df5ad71.zip |
mod_pep: Escape + in pattern
-rw-r--r-- | plugins/mod_pep.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index 429c8b95..0be681fb 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -193,7 +193,7 @@ module:hook("iq/bare/disco", function(event) local notify = {}; for _, feature in pairs(disco.tags) do if feature.name == "feature" and feature.attr.var then - local nfeature = feature.attr.var:match("^(.*)+notify$"); + local nfeature = feature.attr.var:match("^(.*)%+notify$"); if nfeature then notify[nfeature] = true; end end end |