Software /
code /
prosody-modules
Comparison
mod_privacy/mod_privacy.lua @ 15:14b18ef8b554
merge with repos
author | Thilo Cestonaro <thilo@cestona.ro> |
---|---|
date | Sat, 26 Sep 2009 22:30:33 +0200 |
parent | 11:529819205379 |
parent | 14:0892941186f2 |
child | 16:35e74c1094a7 |
comparison
equal
deleted
inserted
replaced
11:529819205379 | 15:14b18ef8b554 |
---|---|
94 local list = {}; | 94 local list = {}; |
95 list.name = name; | 95 list.name = name; |
96 list.items = {}; | 96 list.items = {}; |
97 | 97 |
98 for _,item in ipairs(entries) do | 98 for _,item in ipairs(entries) do |
99 tmp = {}; | 99 local tmp = {}; |
100 tmp["type"] = item.attr.type; | 100 tmp["type"] = item.attr.type; |
101 tmp["value"] = item.attr.value; | 101 tmp["value"] = item.attr.value; |
102 tmp["action"] = item.attr.action; | 102 tmp["action"] = item.attr.action; |
103 tmp["order"] = item.attr.order; | 103 tmp["order"] = item.attr.order; |
104 tmp["presence-in"] = false; | 104 tmp["presence-in"] = false; |