aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-25 17:02:00 +0200
committerKim Alvefur <zash@zash.se>2018-03-25 17:02:00 +0200
commit7e64fa124a1f492ae1952fd278c085490d830954 (patch)
tree9cfa37f110a5e1c00ef39cea8f30e72eac847f72 /core
parent54c57625fa96bfd9567e96f229a77df6de594b6e (diff)
downloadprosody-7e64fa124a1f492ae1952fd278c085490d830954.tar.gz
prosody-7e64fa124a1f492ae1952fd278c085490d830954.zip
configmanager: Move firing of the 'config-reloaded' event into util.startup (fixes #1117)
Diffstat (limited to 'core')
-rw-r--r--core/configmanager.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua
index 111c22a1..d9482b81 100644
--- a/core/configmanager.lua
+++ b/core/configmanager.lua
@@ -11,8 +11,6 @@ local setmetatable, rawget, rawset, io, error, dofile, type, pairs =
setmetatable, rawget, rawset, io, error, dofile, type, pairs;
local format, math_max = string.format, math.max;
-local fire_event = prosody and prosody.events.fire_event or function () end;
-
local envload = require"util.envload".envload;
local deps = require"util.dependencies";
local resolve_relative_path = require"util.paths".resolve_relative_path;
@@ -86,11 +84,6 @@ function _M.load(filename, config_format)
f:close();
if ok then
config = new_config;
- fire_event("config-reloaded", {
- filename = filename,
- format = config_format,
- config = config
- });
end
return ok, "parser", err;
end