aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-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)