Merge pull request #37 from Hawk777/fix-wrong-listener

Fix registering the wrong listener
This commit is contained in:
Izaya 2023-07-27 10:06:36 +10:00 committed by GitHub
commit 23915e4737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ end
function start()
reload()
if #listeners > 0 then return end
event.listen("syslog",wentry)
event.listen("syslog",local_listener)
listeners[#listeners+1] = {"syslog",local_listener}
if havenet and cfg.receive then
event.listen("net_msg",remote_listener)