Software /
code /
prosody
Diff
plugins/mod_disco.lua @ 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 |
parent | 1699:53d16a28ee00 |
child | 1701:ceab61010f87 |
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;