Changeset

1700:255935c7a915

mod_disco: Added identity server/im with name 'Prosody'
author Waqas Hussain <waqas20@gmail.com>
date Tue, 18 Aug 2009 12:38:28 +0500
parents 1699:53d16a28ee00
children 1701:ceab61010f87
files plugins/mod_disco.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_disco.lua	Tue Aug 18 12:37:40 2009 +0500
+++ b/plugins/mod_disco.lua	Tue Aug 18 12:38:28 2009 +0500
@@ -18,6 +18,7 @@
 	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;