more optimizations, remove WTVIRC for now, upgrade test.js

This commit is contained in:
zefie
2025-08-13 21:42:22 -04:00
parent 54bb975f1a
commit 22c7229e38
162 changed files with 1002 additions and 5539 deletions

View File

@@ -89,7 +89,7 @@ class WTVClientCapabilities {
const capabilities = [];
// might want to pass without a flag to get the table
if (wtv_capability_flags != null) {
if (wtv_capability_flags !== null) {
// define function to convert hex string to binary string (0s & 1s)
const hex2bin = function (hex) {
@@ -118,7 +118,7 @@ class WTVClientCapabilities {
// process bitfield and set capabilities
Object.keys(bitfield).forEach(function (k) {
// Convert binary to boolean, 0 to false, 1 to true
const bitfield_result = (bitfield[k] == "1")
const bitfield_result = (bitfield[k] === "1")
// set flags based on position of bit
try {