Software /
code /
prosody
Changeset
4115:801725a32c96
storagemanager: Export load_driver() function so it can be used from e.g. migrators
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 11 Jan 2011 06:18:24 +0000 |
parents | 4113:65482a852c4d |
children | 4116:7ffc6828a6d6 4117:b42ca82b0ea4 |
files | core/storagemanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/storagemanager.lua Tue Jan 11 05:30:55 2011 +0000 +++ b/core/storagemanager.lua Tue Jan 11 06:18:24 2011 +0000 @@ -45,7 +45,7 @@ end prosody.events.add_handler("host-activated", initialize_host, 101); -local function load_driver(host, driver_name) +function load_driver(host, driver_name) if driver_name == "null" then return null_storage_provider; end