diff options
author | Kim Alvefur <zash@zash.se> | 2024-03-02 14:08:47 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-03-02 14:08:47 +0100 |
commit | dd973a9e432da0a465b27364733c8ab1ba483617 (patch) | |
tree | aa54f0b9370eaa7fa8c3e3e4b7a164e52a6ee9d1 | |
parent | 1d5021a663e11770e35358d36e5678c2e030f4b2 (diff) | |
download | prosody-dd973a9e432da0a465b27364733c8ab1ba483617.tar.gz prosody-dd973a9e432da0a465b27364733c8ab1ba483617.zip |
util.startup: Fix firing of USR1/2 events
-rw-r--r-- | util/startup.lua | 4 |
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 |