git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48baaa8
)
- Study message before throwing it to the grabbers
author
Ralf Ertzinger
<sun@lain.camperquake.de>
Fri, 18 Apr 2008 20:29:09 +0000
(22:29 +0200)
committer
Ralf Ertzinger
<sun@lain.camperquake.de>
Fri, 18 Apr 2008 20:29:09 +0000
(22:29 +0200)
videosite.pl
patch
|
blob
|
history
diff --git
a/videosite.pl
b/videosite.pl
index
3ae1e83
..
f21f6ee
100644
(file)
--- 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);
}