aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-23 14:10:04 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-23 14:10:04 +0100
commitf5b07374469842b3b800bf34c4ba4e85dcbc4ad0 (patch)
tree35bd7a5dbd8e44548ecc638dc6320cc5936ec534
parent5f18da1e08389a8159b8ce826aab67b035b00559 (diff)
downloadprosody-f5b07374469842b3b800bf34c4ba4e85dcbc4ad0.tar.gz
prosody-f5b07374469842b3b800bf34c4ba4e85dcbc4ad0.zip
moduleapi: module:provides(): Add "-provider" onto the key name
-rw-r--r--core/moduleapi.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua
index 61926017..2223f4d0 100644
--- a/core/moduleapi.lua
+++ b/core/moduleapi.lua
@@ -306,7 +306,7 @@ function api:provides(name, item)
end
item.name = item_name;
end
- self:add_item(name, item);
+ self:add_item(name.."-provider", item);
end
function api:send(stanza)