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 | f5b07374469842b3b800bf34c4ba4e85dcbc4ad0 (patch) | |
tree | 35bd7a5dbd8e44548ecc638dc6320cc5936ec534 /core/moduleapi.lua | |
parent | 5f18da1e08389a8159b8ce826aab67b035b00559 (diff) | |
download | prosody-f5b07374469842b3b800bf34c4ba4e85dcbc4ad0.tar.gz prosody-f5b07374469842b3b800bf34c4ba4e85dcbc4ad0.zip |
moduleapi: module:provides(): Add "-provider" onto the key name
Diffstat (limited to 'core/moduleapi.lua')
-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) |