mod_privacy: Fix typo causing <active/> to never be send
authorFlorian Zeitz <florob@babelmonkeys.de>
Thu, 12 Aug 2010 18:44:01 +0000 (20:44 +0200)
committerFlorian Zeitz <florob@babelmonkeys.de>
Thu, 12 Aug 2010 18:44:01 +0000 (20:44 +0200)
plugins/mod_privacy.lua

index 5355e527654f2a7aa1e8b9a04e3700ab21d8708d..d5842e26c74d81509c7ef7308808ebe1786cbe68 100644 (file)
@@ -203,7 +203,7 @@ function getList(privacy_lists, origin, stanza, name)
 
        if name == nil then
                if privacy_lists.lists then
-                       if origin.ActivePrivacyList then
+                       if origin.activePrivacyList then
                                reply:tag("active", {name=origin.activePrivacyList}):up();
                        end
                        if privacy_lists.default then