Fix iterator through channels to message to

This commit is contained in:
itismadness
2018-11-06 07:04:59 +06:00
parent 02ab2b7b18
commit 613e177736

View File

@@ -64,7 +64,7 @@ fastify.post('/', async (req, reply) => {
for (channel of settings.channels) {
for (let message of messages) {
client.say('#test', message);
client.say(channel, message);
}
}
messages = [];