X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=prosodyctl;h=cfc5ca77a979d74268a5483455984ec2da170462;hb=eecf63b9e5aff94dc3d3e88e3b5dfa853d92fc1a;hp=c7ef93edb385d0e7401bc5258437b19719044bdb;hpb=18afbefea99ff3302a0ed882654efe5c349cb18e;p=prosody.git diff --git a/prosodyctl b/prosodyctl index c7ef93ed..cfc5ca77 100755 --- a/prosodyctl +++ b/prosodyctl @@ -33,9 +33,11 @@ end -- Global 'prosody' object prosody = { - hosts = {}, - events = require "util.events".new(), - platform = "posix" + hosts = {}; + events = require "util.events".new(); + platform = "posix"; + lock_globals = function () end; + unlock_globals = function () end; }; local prosody = prosody; @@ -329,7 +331,7 @@ function commands.adduser(arg) if ok then return 0; end - show_message(error_messages[msg]) + show_message(msg) return 1; end