Software /
code /
prosody
Comparison
plugins/mod_storage_internal.lua @ 9895:6bd65bff03b5
mod_storage_internal: Include store name when reporting quota status
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 22 Mar 2019 02:24:48 +0100 |
parent | 9888:5669bb11ac7b |
child | 9903:2c5546cc5c70 |
comparison
equal
deleted
inserted
replaced
9894:8747ccf0008c | 9895:6bd65bff03b5 |
---|---|
107 return nil, "quota-limit"; | 107 return nil, "quota-limit"; |
108 end | 108 end |
109 key = id(); | 109 key = id(); |
110 end | 110 end |
111 | 111 |
112 module:log("debug", "%s has %d items out of %d limit", username, item_count, archive_item_limit); | 112 module:log("debug", "%s has %d items out of %d limit in store %s", username, item_count, archive_item_limit, self.store); |
113 | 113 |
114 value.key = key; | 114 value.key = key; |
115 | 115 |
116 local ok, err = datamanager.list_append(username, host, self.store, value); | 116 local ok, err = datamanager.list_append(username, host, self.store, value); |
117 if not ok then return ok, err; end | 117 if not ok then return ok, err; end |