Software /
code /
prosody
Comparison
core/moduleapi.lua @ 6423:1c78f10f05d0
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 23 Sep 2014 01:44:16 +0200 |
parent | 6418:ae798314347c |
parent | 6422:6d4d87a89026 |
child | 6557:8aa967c81cbc |
comparison
equal
deleted
inserted
replaced
6419:84b332eacde9 | 6423:1c78f10f05d0 |
---|---|
388 | 388 |
389 function api:open_store(name, type) | 389 function api:open_store(name, type) |
390 return require"core.storagemanager".open(self.host, name or self.name, type); | 390 return require"core.storagemanager".open(self.host, name or self.name, type); |
391 end | 391 end |
392 | 392 |
393 return function (mm) | 393 function api.init(mm) |
394 modulemanager = mm; | 394 modulemanager = mm; |
395 return api; | 395 return api; |
396 end | 396 end |
397 | |
398 return api; |