Software /
code /
prosody
Comparison
prosodyctl @ 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 | 3773:2e15808243f3 |
child | 3904:f93163081b3c |
comparison
equal
deleted
inserted
replaced
3775:f3f2a7810108 | 3777:5ecbcef42ffb |
---|---|
329 | 329 |
330 local ok, msg = prosodyctl.adduser { user = user, host = host, password = password }; | 330 local ok, msg = prosodyctl.adduser { user = user, host = host, password = password }; |
331 | 331 |
332 if ok then return 0; end | 332 if ok then return 0; end |
333 | 333 |
334 show_message(error_messages[msg]) | 334 show_message(msg) |
335 return 1; | 335 return 1; |
336 end | 336 end |
337 | 337 |
338 function commands.passwd(arg) | 338 function commands.passwd(arg) |
339 if not arg[1] or arg[1] == "--help" then | 339 if not arg[1] or arg[1] == "--help" then |