Remove obsolete code

This commit is contained in:
Yarmo Mackenbach 2021-04-09 14:42:03 +02:00
parent be547b0e5d
commit d2b9854a2f
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -39,7 +39,6 @@ module.exports = async (hostname, nickQuery, opts) => {
client.send(`PRIVMSG NickServ :TAXONOMY ${nickQuery}`) client.send(`PRIVMSG NickServ :TAXONOMY ${nickQuery}`)
}) })
client.addListener('notice', (nick, to, text, message) => { client.addListener('notice', (nick, to, text, message) => {
console.log(text);
if (reKey.test(text)) { if (reKey.test(text)) {
const match = text.match(reKey) const match = text.match(reKey)
keys.push(match[1]) keys.push(match[1])