From 0f99e523db38c4fec0abdbdf18f8173d44587a94 Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Fri, 18 Apr 2008 22:29:09 +0200 Subject: [PATCH] - Study message before throwing it to the grabbers --- videosite.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/videosite.pl b/videosite.pl index 3ae1e83..f21f6ee 100644 --- a/videosite.pl +++ b/videosite.pl @@ -87,6 +87,8 @@ sub check_for_link { return; } + study($message); + # Offer the message to all Grabbers in turn foreach $g (@grabbers) { ($m, $p) = $g->get($message); @@ -106,6 +108,7 @@ sub check_for_link { # Remove the matched part from the message and try again (there may be # more!) $message =~ s/$p//; + study($message); ($m, $p) = $g->get($message); } -- 1.8.3.1