mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 10:38:05 +11:00
Merge pull request #37 from Hawk777/fix-wrong-listener
Fix registering the wrong listener
This commit is contained in:
commit
23915e4737
@ -85,7 +85,7 @@ end
|
|||||||
function start()
|
function start()
|
||||||
reload()
|
reload()
|
||||||
if #listeners > 0 then return end
|
if #listeners > 0 then return end
|
||||||
event.listen("syslog",wentry)
|
event.listen("syslog",local_listener)
|
||||||
listeners[#listeners+1] = {"syslog",local_listener}
|
listeners[#listeners+1] = {"syslog",local_listener}
|
||||||
if havenet and cfg.receive then
|
if havenet and cfg.receive then
|
||||||
event.listen("net_msg",remote_listener)
|
event.listen("net_msg",remote_listener)
|
||||||
|
Loading…
Reference in New Issue
Block a user