From dd973a9e432da0a465b27364733c8ab1ba483617 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 2 Mar 2024 14:08:47 +0100 Subject: util.startup: Fix firing of USR1/2 events --- util/startup.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') 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 -- cgit v1.2.3