1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-12-25 17:58:07 +11:00

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

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)