Fixed reversed IRC recipient logic.

This commit is contained in:
Niels Simenon 2023-04-11 01:09:40 +02:00
parent ba8e39f857
commit e584389453
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ async function init() {
client.addListener('message', (from, to, body) => onMessage({
from,
to,
recipient: /^#/.test(to) ? to : null,
recipient: /^#/.test(to) ? null : to,
body,
type: 'message',
}, bot, games));