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
commitde1168f2885e614882839f754e039da55fdbe42f (patch)
tree35bd7a5dbd8e44548ecc638dc6320cc5936ec534
parent5b5c8c83b395e259924d28f14b65133bb9a5791c (diff)
downloadprosody-de1168f2885e614882839f754e039da55fdbe42f.tar.gz
prosody-de1168f2885e614882839f754e039da55fdbe42f.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)