Fixed reversed IRC recipient logic.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user