diff options
author | Florian Zeitz <florob@babelmonkeys.de> | 2010-12-18 21:04:45 +0100 |
---|---|---|
committer | Florian Zeitz <florob@babelmonkeys.de> | 2010-12-18 21:04:45 +0100 |
commit | af433a87e1eb28f948a9a4a06d5f3da5cd0d7a24 (patch) | |
tree | 362e612849a1c642ce2dd88c45b8834246fa4825 /util/prosodyctl.lua | |
parent | acbe5b3dffba60d0240279df2ffe51dcd5b0c16a (diff) | |
download | prosody-af433a87e1eb28f948a9a4a06d5f3da5cd0d7a24.tar.gz prosody-af433a87e1eb28f948a9a4a06d5f3da5cd0d7a24.zip |
mod_admin_adhoc: Support for reloading multiple modules
Diffstat (limited to 'util/prosodyctl.lua')
-rw-r--r-- | util/prosodyctl.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua index 3e6e90ee..40d21be8 100644 --- a/util/prosodyctl.lua +++ b/util/prosodyctl.lua @@ -41,9 +41,9 @@ function adduser(params) 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 |