aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-02 15:43:27 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-02 15:43:27 +0100
commitf101f253b403e4b36a6c7b59ab9a6ef51df5ad71 (patch)
tree62425eb393c72cc8a5ca1f5447235a7e07563c3c /plugins/mod_pep.lua
parentb9c0a4931de101141bcb2364b579d34844a3f5c9 (diff)
downloadprosody-f101f253b403e4b36a6c7b59ab9a6ef51df5ad71.tar.gz
prosody-f101f253b403e4b36a6c7b59ab9a6ef51df5ad71.zip
mod_pep: Escape + in pattern
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua2
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