mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:27:09 +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) {
|
||||
if (!data || !data.channel === "realtime") {
|
||||
if (!data || data.channel !== "realtime") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user