Software /
code /
prosody
Comparison
plugins/mod_blocklist.lua @ 9993:02a41315d275
Fix various spelling mistakes [codespell]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 03 May 2019 20:54:24 +0200 |
parent | 9248:1d6a2cc389eb |
child | 10053:4b2cc8a60449 |
comparison
equal
deleted
inserted
replaced
9992:9d6baacdd8e6 | 9993:02a41315d275 |
---|---|
157 end | 157 end |
158 | 158 |
159 local blocklist = cache[username] or get_blocklist(username); | 159 local blocklist = cache[username] or get_blocklist(username); |
160 | 160 |
161 local new_blocklist = { | 161 local new_blocklist = { |
162 -- We set the [false] key to someting as a signal not to migrate privacy lists | 162 -- We set the [false] key to something as a signal not to migrate privacy lists |
163 [false] = blocklist[false] or { created = now; }; | 163 [false] = blocklist[false] or { created = now; }; |
164 }; | 164 }; |
165 if type(blocklist[false]) == "table" then | 165 if type(blocklist[false]) == "table" then |
166 new_blocklist[false].modified = now; | 166 new_blocklist[false].modified = now; |
167 end | 167 end |