Software /
code /
prosody
Comparison
plugins/mod_privacy.lua @ 3317:82b17b199d68
mod_privacy: Add service discovery feature.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 03 Jul 2010 11:03:06 +0500 |
parent | 3313:9bcf8d612a52 |
child | 3318:8d09b21aeaa9 |
comparison
equal
deleted
inserted
replaced
3313:9bcf8d612a52 | 3317:82b17b199d68 |
---|---|
4 -- Copyright (C) 2009 Thilo Cestonaro | 4 -- Copyright (C) 2009 Thilo Cestonaro |
5 -- | 5 -- |
6 -- This project is MIT/X11 licensed. Please see the | 6 -- This project is MIT/X11 licensed. Please see the |
7 -- COPYING file in the source package for more information. | 7 -- COPYING file in the source package for more information. |
8 -- | 8 -- |
9 | |
10 module:add_feature("jabber:iq:privacy"); | |
9 | 11 |
10 local prosody = prosody; | 12 local prosody = prosody; |
11 local st = require "util.stanza"; | 13 local st = require "util.stanza"; |
12 local datamanager = require "util.datamanager"; | 14 local datamanager = require "util.datamanager"; |
13 local bare_sessions, full_sessions = bare_sessions, full_sessions; | 15 local bare_sessions, full_sessions = bare_sessions, full_sessions; |