Software /
code /
prosody
Comparison
plugins/mod_pubsub/pubsub.lib.lua @ 8217:5f4e0d67b82a
util.pubsub: Catch overriden id from storage
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 26 Apr 2017 12:06:41 +0200 |
parent | 8216:d80233ca006d |
child | 8218:2c75a5ba58fc |
comparison
equal
deleted
inserted
replaced
8216:d80233ca006d | 8217:5f4e0d67b82a |
---|---|
381 end | 381 end |
382 if not data then | 382 if not data then |
383 module:log("error", "Unable to set item: %s", err); | 383 module:log("error", "Unable to set item: %s", err); |
384 return nil, err; | 384 return nil, err; |
385 end | 385 end |
386 return true; | 386 return data; |
387 end | 387 end |
388 return setmetatable(get_set, archive); | 388 return setmetatable(get_set, archive); |
389 end | 389 end |
390 _M.simple_itemstore = simple_itemstore; | 390 _M.simple_itemstore = simple_itemstore; |
391 | 391 |