X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=videosite.pl;h=58e4c967392f8294fdc2c6957b3264aac4e42a1e;hb=04ab1c3a6f2107d94804fc7c99ecce659d1ee1b8;hp=da075cb6d22738e762be5d1f6f7e85c79d2372d9;hpb=c114a610b17e4fc4842454ec71ff7c82c9d07859;p=videosite.git diff --git a/videosite.pl b/videosite.pl index da075cb..58e4c96 100644 --- a/videosite.pl +++ b/videosite.pl @@ -42,6 +42,8 @@ sub write_irssi { my $witem = shift; my @text = @_; + $text[0] = 'videosite: ' . $text[0]; + if (defined $witem) { $witem->print(sprintf(shift(@text), @text), MSGLEVEL_CLIENTCRAP); } else { @@ -97,9 +99,9 @@ sub cmd_save { close(CONF); }; if ($@) { - write_irssi(undef, 'videosite: Could not save config to %s: %s', ($conffile, $@)); + write_irssi(undef, 'Could not save config to %s: %s', ($conffile, $@)); } else { - write_irssi(undef, 'Videosite configuration saved to %s', $conffile); + write_irssi(undef, 'configuration saved to %s', $conffile); } }