# autodownload flash videos
#
-# (c) 2007 by Ralf Ertzinger <ralf@camperquake.de>
+# (c) 2007-2008 by Ralf Ertzinger <ralf@camperquake.de>
# licensed under GNU GPL v2
#
# Based on youtube.pl by Christian Garbs <mitch@cgarbs.de>
my $witem = shift;
my @text = @_;
+ $text[0] = 'videosite: ' . $text[0];
+
if (defined $witem) {
$witem->print(sprintf(shift(@text), @text), MSGLEVEL_CLIENTCRAP);
} else {
}
-sub write_verbose {
- if (Irssi::settings_get_bool('youtube_verbose')) {
- write_irssi(shift, @_);
- }
-}
-
sub write_debug {
if ($debug) {
write_irssi(shift, @_);
close(CONF);
};
if ($@) {
- write_irssi(undef, 'videosite: Could not save config: %s', $@);
+ write_irssi(undef, 'Could not save config to %s: %s', ($conffile, $@));
} else {
- write_irssi(undef, 'videosite: Saved config');
+ write_irssi(undef, 'configuration saved to %s', $conffile);
}
}