X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=prosody;h=dc28c771b2cee7c97935e4739b95790df20624c0;hb=faabef234e99d90b0197c50aa2fa5b9c812779cb;hp=00a301fa318a7a2798b5fe220ee6cbf708822616;hpb=cd333febf9f0977512b4a44269248ab8f34c42cf;p=prosody.git diff --git a/prosody b/prosody index 00a301fa..dc28c771 100755 --- a/prosody +++ b/prosody @@ -32,7 +32,7 @@ end -- Required to be able to find packages installed with luarocks pcall(require, "luarocks.require") - +require "util.require"; config = require "core.configmanager" @@ -330,8 +330,8 @@ read_version(); log("info", "Hello and welcome to Prosody version %s", prosody.version); load_secondary_libraries(); init_data_store(); -prepare_to_start(); init_global_protection(); +prepare_to_start(); eventmanager.fire_event("server-started"); prosody.events.fire_event("server-started");