1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-15 14:58:06 +11:00
Commit Graph

9 Commits

Author SHA1 Message Date
Izaya
98fbf0e7d5
Merge pull request #35 from Hawk777/fix-syslog-without-hostname
Fix syslog running with HOSTNAME unset
2023-07-27 10:07:04 +10:00
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
Christopher Head
4f0efd256c
Fix syslog running with HOSTNAME unset
`computer.address` is a function and therefore must be called, not
method-called on directly.
2021-01-22 19:11:26 -08:00
c6c471cfcf added the local listener. whoops. 2020-05-05 01:27:07 +10:00
86055b6228 syslogd now uses minitel.lua instead of net.lua 2018-08-11 14:25:42 +10:00
43c6f5279d added an option to display log messages over a certain priority 2018-07-28 17:22:22 +10:00
b212d13010 added a beeplevel option, any events equal to or above that level will make the server beep. 2018-07-28 05:34:31 +10:00
4aba85513a fixed up network syslog stuff 2018-07-25 04:41:00 +10:00
284c67994e initial work on #9 2018-07-24 22:15:12 +10:00