aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_version.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_version.lua')
-rw-r--r--plugins/mod_version.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_version.lua b/plugins/mod_version.lua
index e16d8aa7..0b7ebfaa 100644
--- a/plugins/mod_version.lua
+++ b/plugins/mod_version.lua
@@ -25,7 +25,7 @@ local log = require "util.logger".init("mod_version");
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