Software /
code /
prosody
Diff
util/prosodyctl.lua @ 3777:5ecbcef42ffb
mod_admin_adhoc: Support for reloading multiple modules
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Sat, 18 Dec 2010 21:04:45 +0100 |
parent | 3771:428882c438bf |
child | 4142:caa78589598f |
line wrap: on
line diff
--- a/util/prosodyctl.lua Sat Dec 18 14:46:28 2010 +0000 +++ b/util/prosodyctl.lua Sat Dec 18 21:04:45 2010 +0100 @@ -41,9 +41,9 @@ end storagemanager.initialize_host(host); - local ok = usermanager.create_user(user, password, host); + local ok, errmsg = usermanager.create_user(user, password, host); if not ok then - return false, "unable-to-save-data"; + return false, errmsg; end return true; end