From 8c6018a4adbd30b1798e7ab718f52058da7474ca Mon Sep 17 00:00:00 2001 From: HF Date: Fri, 6 Nov 2020 22:00:37 +0100 Subject: [PATCH] used wrong channel for cyrillic check --- src/core/ChatProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ChatProvider.js b/src/core/ChatProvider.js index b178db8..c0eb7aa 100644 --- a/src/core/ChatProvider.js +++ b/src/core/ChatProvider.js @@ -235,7 +235,7 @@ export class ChatProvider { } } - if (message.match(this.cyrillic) && channelId === this.intChannelId) { + if (message.match(this.cyrillic) && channelId === this.enChannelId) { return 'Please use int channel'; }