Mercurial > prosody-hg
comparison plugins/mod_disco.lua @ 1703:b062ee7865fc
mod_disco: Removed reference to core.discomanager
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Tue, 18 Aug 2009 12:43:21 +0500 |
| parents | 0e56819ee51b |
| children | 9b445d2427e2 |
comparison
equal
deleted
inserted
replaced
| 1702:0e56819ee51b | 1703:b062ee7865fc |
|---|---|
| 4 -- | 4 -- |
| 5 -- This project is MIT/X11 licensed. Please see the | 5 -- This project is MIT/X11 licensed. Please see the |
| 6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
| 7 -- | 7 -- |
| 8 | 8 |
| 9 local discomanager_handle = require "core.discomanager".handle; | |
| 10 local componentmanager_get_children = require "core.componentmanager".get_children; | 9 local componentmanager_get_children = require "core.componentmanager".get_children; |
| 11 | 10 |
| 12 module:add_feature("http://jabber.org/protocol/disco#info"); | 11 module:add_feature("http://jabber.org/protocol/disco#info"); |
| 13 module:add_feature("http://jabber.org/protocol/disco#items"); | 12 module:add_feature("http://jabber.org/protocol/disco#items"); |
| 14 | 13 |
