Software /
code /
prosody
Changeset
3727:1bbd655975ca
storagemanager: Fixed a nil global access.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 12 Dec 2010 05:13:02 +0500 |
parents | 3726:fa516dc2c2de |
children | 3728:b1b8fe846d68 |
files | core/storagemanager.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/storagemanager.lua Sat Dec 11 22:34:29 2010 +0000 +++ b/core/storagemanager.lua Sun Dec 12 05:13:02 2010 +0500 @@ -25,6 +25,7 @@ local stores_available = multitable.new(); function initialize_host(host) + local host_session = hosts[host]; host_session.events.add_handler("item-added/data-driver", function (event) local item = event.item; stores_available:set(host, item.name, item);