aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorFlorian Zeitz <florob@babelmonkeys.de>2010-12-18 21:04:45 +0100
committerFlorian Zeitz <florob@babelmonkeys.de>2010-12-18 21:04:45 +0100
commitaf433a87e1eb28f948a9a4a06d5f3da5cd0d7a24 (patch)
tree362e612849a1c642ce2dd88c45b8834246fa4825 /util
parentacbe5b3dffba60d0240279df2ffe51dcd5b0c16a (diff)
downloadprosody-af433a87e1eb28f948a9a4a06d5f3da5cd0d7a24.tar.gz
prosody-af433a87e1eb28f948a9a4a06d5f3da5cd0d7a24.zip
mod_admin_adhoc: Support for reloading multiple modules
Diffstat (limited to 'util')
-rw-r--r--util/prosodyctl.lua4
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