X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite.pl;h=4eada1399130e734a5bcb873be33f09d7c5237df;hb=d333195856d50dbceb175e5cdcd1061a8ad8366a;hp=ee1fa2695f3b581cda4cdc1bc05b07b21c5ab44a;hpb=671cb9fa217ef151045e7191f175b1437c64f45d;p=videosite.git diff --git a/videosite.pl b/videosite.pl index ee1fa26..4eada13 100644 --- a/videosite.pl +++ b/videosite.pl @@ -4,6 +4,8 @@ # licensed under GNU GPL v2 # # Based on youtube.pl by Christian Garbs +# which in turn is +# based on trigger.pl by Wouter Coekaerts use strict; use Irssi 20020324 qw (command_bind command_runsub signal_add_first signal_add_last); @@ -79,7 +81,7 @@ sub check_for_link { # Offer the message to all Grabbers in turn foreach $g (@grabbers) { if (defined($m = $g->get($message))) { - write_irssi($witem, '%%R>>> %%NSaving %%Y%s%%N %%G%s', $m->{'TYPE'}, $m->{'TITLE'}); + write_irssi($witem, '%%R>>> %%NSaving %%Y%s%%N %%G%s', $m->{'SOURCE'}, $m->{'TITLE'}); unless($getter->get($m)) { write_irssi($witem, '%%R>>> FAILED'); }