--- a/plugins/mod_version.lua Thu Dec 04 20:07:22 2008 +0500 +++ b/plugins/mod_version.lua Thu Dec 04 20:16:30 2008 +0500 @@ -25,7 +25,7 @@ local xmlns_version = "jabber:iq:version" -require "core.discomanager".set("version", xmlns_version); +module:add_feature(xmlns_version); local function handle_version_request(session, stanza) if stanza.attr.type == "get" then