Fix replies not being sent correctly

This commit is contained in:
Leppunen 2021-08-23 23:36:59 +03:00
parent 79c619fe19
commit 9b39b1833e

View file

@ -127,7 +127,11 @@ const getConnection = () => {
}; };
const say = (channel, message) => { const say = (channel, message) => {
listenClient.say(channel, message); if (channel.startsWith('#')) {
listenClient.say(channel, message);
} else {
listenClient.say(`#${channel}`, message);
}
}; };
if (!Config.IgnorePNSL) { if (!Config.IgnorePNSL) {