From 3a314190709ee743519210f3d6c483ad4605dee5 Mon Sep 17 00:00:00 2001 From: GottZ Date: Fri, 25 Aug 2017 15:12:06 +0200 Subject: [PATCH] w0bm regex cause > sirx --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 85e4443..9509af2 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,7 @@ process.nextTick(()=>irc.client.connect()); const handleChatCommands = require("./chatCommands")(irc, db); const shiftRegex = /^(\.?\w+:?)\s+(.+)/; -const w0bmregex = /(?:[^\/]|^|\/\/)w0bm\.com\/(?:\w+\/){0,2}([^ '\/@`´]+\.(webm)|\d+)/i; +const w0bmregex = /(?:[^\/]|^|\/\/)w0bm\.com\/(?:\w+\/){0,3}([^ '\/@`´]+\.(webm)|\d+)/i; const capsmsg = [ "Captain capslock did not approve this!",