From 680ef78f073eed8b893ce6ac50a83962c6d7cef5 Mon Sep 17 00:00:00 2001 From: Flummi Date: Tue, 23 Aug 2016 17:37:28 +0000 Subject: [PATCH] damn --- src/trigger/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trigger/parser.js b/src/trigger/parser.js index cc1de80..64a1027 100644 --- a/src/trigger/parser.js +++ b/src/trigger/parser.js @@ -8,7 +8,7 @@ module.exports = (bot, trigger, lib) => { call: new RegExp('https?:\\/\\/[\\w-]+(\\.[\\w-]+)+\\.?(:\\d+)?(\\/\\S*)?', 'gi'), level: 0, func: (e) => { - if(e.channel.getName() != '#f0ck') { + if(e.channel.getName() == '#f0ck') { if(!e.message.match(/\!ignore$/)) { var tmp = e.message.match(/https?:\/\/[\w-]+(\.[\w-]+)+\.?(:\d+)?(\/\S*)?/gi); // get links tmp.forEach((entry,i,a) => {