From 44fd51965824efd295ddfffa9e18858d1745b027 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 21 May 2021 15:27:35 +0200 Subject: [PATCH] Fix IRC NickServ command syntax --- src/fetcher/irc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fetcher/irc.js b/src/fetcher/irc.js index 49c4138..8f37f17 100644 --- a/src/fetcher/irc.js +++ b/src/fetcher/irc.js @@ -61,13 +61,15 @@ if (jsEnv.isNode) { port: 6697, secure: true, channels: [], + showErrors: false, + debug: false }) const reKey = /[a-zA-Z0-9\-\_]+\s+:\s(openpgp4fpr\:.*)/ const reEnd = /End\sof\s.*\staxonomy./ let keys = [] client.addListener('registered', (message) => { - client.send(`PRIVMSG NickServ :TAXONOMY ${data.nick}`) + client.send(`PRIVMSG NickServ TAXONOMY ${data.nick}`) }) client.addListener('notice', (nick, to, text, message) => { if (reKey.test(text)) {