Fix usage of double-equals-comparison to triple-equals

This commit is contained in:
MinusGix
2020-02-18 13:57:20 -06:00
parent d30f82962a
commit a1c0015fe2
+1 -1
View File
@@ -26,7 +26,7 @@ export async function run(core, server, socket, data) {
}
let channel;
if (typeof data.to == 'string') {
if (typeof data.to === 'string') {
channel = data.to;
} else {
channel = Math.random().toString(36).substr(2, 8);