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:
commit
23915e4737
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user