Fix replies not being sent correctly

This commit is contained in:
Leppunen 2021-08-23 23:36:59 +03:00
parent 79c619fe19
commit 9b39b1833e
1 changed files with 5 additions and 1 deletions

View File

@ -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) {