# HG changeset patch # User Matthew Wild # Date 1335186604 -3600 # Node ID 76db5d0a2104692175f95d4057e94d1cf7848a15 # Parent 96b40b5e8ea8452454032ed650d994419571779c moduleapi: module:provides(): Add "-provider" onto the key name diff -r 96b40b5e8ea8 -r 76db5d0a2104 core/moduleapi.lua --- a/core/moduleapi.lua Mon Apr 23 14:09:35 2012 +0100 +++ b/core/moduleapi.lua Mon Apr 23 14:10:04 2012 +0100 @@ -306,7 +306,7 @@ end item.name = item_name; end - self:add_item(name, item); + self:add_item(name.."-provider", item); end function api:send(stanza)