aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/startup.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/startup.lua b/util/startup.lua
index 37f9359f..92bf2987 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -704,12 +704,12 @@ function startup.hook_posix_signals()
signal.signal("SIGUSR1", function()
log("info", "Received SIGUSR1");
- fire_event("signal/SIGUSR1");
+ prosody.events.fire_event("signal/SIGUSR1");
end);
signal.signal("SIGUSR2", function()
log("info", "Received SIGUSR2");
- fire_event("signal/SIGUSR2");
+ prosody.events.fire_event("signal/SIGUSR2");
end);
end