projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net.httpserver: Catch errors thrown in HTTP handlers.
[prosody.git]
/
plugins
/
mod_privacy.lua
diff --git
a/plugins/mod_privacy.lua
b/plugins/mod_privacy.lua
index e3d38af90cc7135b1d52a7d84c5aac464439528f..d5842e26c74d81509c7ef7308808ebe1786cbe68 100644
(file)
--- a/
plugins/mod_privacy.lua
+++ b/
plugins/mod_privacy.lua
@@
-7,6
+7,8
@@
-- COPYING file in the source package for more information.
--
-- COPYING file in the source package for more information.
--
+module:add_feature("jabber:iq:privacy");
+
local prosody = prosody;
local st = require "util.stanza";
local datamanager = require "util.datamanager";
local prosody = prosody;
local st = require "util.stanza";
local datamanager = require "util.datamanager";
@@
-201,7
+203,7
@@
function getList(privacy_lists, origin, stanza, name)
if name == nil then
if privacy_lists.lists then
if name == nil then
if privacy_lists.lists then
- if origin.
A
ctivePrivacyList then
+ if origin.
a
ctivePrivacyList then
reply:tag("active", {name=origin.activePrivacyList}):up();
end
if privacy_lists.default then
reply:tag("active", {name=origin.activePrivacyList}):up();
end
if privacy_lists.default then