From 9b39b1833ec7b19ad8b51c4cdeff2e8514b78b4f Mon Sep 17 00:00:00 2001 From: Leppunen Date: Mon, 23 Aug 2021 23:36:59 +0300 Subject: [PATCH] Fix replies not being sent correctly --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index d2332d7..1747f07 100644 --- a/index.js +++ b/index.js @@ -127,7 +127,11 @@ const getConnection = () => { }; const say = (channel, message) => { - listenClient.say(channel, message); + if (channel.startsWith('#')) { + listenClient.say(channel, message); + } else { + listenClient.say(`#${channel}`, message); + } }; if (!Config.IgnorePNSL) {