aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_disco.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-08-18 12:38:28 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-08-18 12:38:28 +0500
commit444cc01f25d3c421afd03651c57ecac62b925598 (patch)
tree32c49fbe2c82abc25975a3cd1904807489199061 /plugins/mod_disco.lua
parent4e038edbe7034a4119337b3ff6c5b95ece423b8c (diff)
downloadprosody-444cc01f25d3c421afd03651c57ecac62b925598.tar.gz
prosody-444cc01f25d3c421afd03651c57ecac62b925598.zip
mod_disco: Added identity server/im with name 'Prosody'
Diffstat (limited to 'plugins/mod_disco.lua')
-rw-r--r--plugins/mod_disco.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua
index c6d40c9e..15c6a2ff 100644
--- a/plugins/mod_disco.lua
+++ b/plugins/mod_disco.lua
@@ -18,6 +18,7 @@ module:add_iq_handler({"c2s", "s2sin"}, "http://jabber.org/protocol/disco#items"
session.send(discomanager_handle(stanza));
end);
+module:add_identity("server", "im", "Prosody");
local st = require "util.stanza"
module:hook("iq/host/http://jabber.org/protocol/disco#info:query", function(event)
local origin, stanza = event.origin, event.stanza;