git://git.camperquake.de
/
videosite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Fix typo in youtube help text
[videosite.git]
/
videosite.pl
diff --git
a/videosite.pl
b/videosite.pl
index
3ae1e83
..
21ed709
100644
(file)
--- a/
videosite.pl
+++ b/
videosite.pl
@@
-87,6
+87,8
@@
sub check_for_link {
return;
}
return;
}
+ study($message);
+
# Offer the message to all Grabbers in turn
foreach $g (@grabbers) {
($m, $p) = $g->get($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//;
# Remove the matched part from the message and try again (there may be
# more!)
$message =~ s/$p//;
+ study($message);
($m, $p) = $g->get($message);
}
($m, $p) = $g->get($message);
}
@@
-288,13
+291,13
@@
sub ploader {
$p =~ s/\.pm$//;
eval qq{ require $p; };
if ($@) {
$p =~ s/\.pm$//;
eval qq{ require $p; };
if ($@) {
- write_
debug
(undef, "Failed to load plugin: $@");
+ write_
irssi
(undef, "Failed to load plugin: $@");
next;
}
$g = eval $p.q{->new();};
if ($@) {
next;
}
$g = eval $p.q{->new();};
if ($@) {
- write_
debug
(undef, "Failed to instanciate: $@");
+ write_
irssi
(undef, "Failed to instanciate: $@");
delete($INC{$p});
next;
}
delete($INC{$p});
next;
}