diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-23 14:10:04 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-23 14:10:04 +0100 |
commit | de1168f2885e614882839f754e039da55fdbe42f (patch) | |
tree | 35bd7a5dbd8e44548ecc638dc6320cc5936ec534 /core | |
parent | 5b5c8c83b395e259924d28f14b65133bb9a5791c (diff) | |
download | prosody-de1168f2885e614882839f754e039da55fdbe42f.tar.gz prosody-de1168f2885e614882839f754e039da55fdbe42f.zip |
moduleapi: module:provides(): Add "-provider" onto the key name
Diffstat (limited to 'core')
-rw-r--r-- | core/moduleapi.lua | 2 |
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) |