1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-15 14:58:06 +11:00
OC-Minitel/syslog/OpenOS/etc
Christopher Head a78a3758f8
Fix registering the wrong listener
The `local_listener` function is obviously intended to be used as the
event listener for locally pushed `syslog` events, to do preliminary
sanity checks and type conversions before calling `wentry`. However, it
was not actually registered as such. Not only does this mean the sanity
checks and type conversions could be skipped, it also means that `rc
syslogd stop` would not work because `wentry` was actually registered as
a listener while `local_listener` was pushed in the `listeners` table,
so `event.ignore` would be passed the wrong value and would not
unregister `wentry`.
2021-01-22 19:26:04 -08:00
..
rc.d Fix registering the wrong listener 2021-01-22 19:26:04 -08:00