mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:17:08 +00:00
Fix event detection failure.
There was a typo in the channel detection logic, resulting in bogus events full of `undefined` data values. Fixes #115.
This commit is contained in:
@@ -109,7 +109,7 @@ class DetectSOLEOL {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async run (data) {
|
async run (data) {
|
||||||
if (!data || !data.channel === "realtime") {
|
if (!data || data.channel !== "realtime") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user