diff -r 564e2c63e0d4 -r a55574754e5f util/startup.lua --- a/util/startup.lua Sun Mar 25 12:45:24 2018 +0100 +++ b/util/startup.lua Sun Mar 25 17:02:00 2018 +0200 @@ -229,6 +229,11 @@ elseif level == "file" then log("error", "Couldn't read the config file when trying to reload: %s", tostring(err)); end + else + prosody.events.fire_event("config-reloaded", { + filename = prosody.config_file, + config = config.getconfig(), + }); end return ok, (err and tostring(level)..": "..tostring(err)) or nil; end