X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=blobdiff_plain;f=libvideosite.pm;h=bebc8a52b9ae550fddf4ec1961ac6b9124ed2d4b;hp=49208019abfb2e6326e673d34824984d6e3bf1ec;hb=9e6dee05bf21521feaaea1cf4c4c8e0e7f19de66;hpb=afe9b4975a8a82cec484ac15c73e7fd0c3c1dbbf diff --git a/libvideosite.pm b/libvideosite.pm index 4920801..bebc8a5 100644 --- a/libvideosite.pm +++ b/libvideosite.pm @@ -132,9 +132,9 @@ sub _io { # This will define the outputprefix once, so we don't have # do do this every time. - $outputprefix //= sprintf("%svideosite: %s", + $outputprefix = sprintf("%svideosite: %s", $remote_api->{color}->('magenta'), - $remote_api->{color}->()); + $remote_api->{color}->()) unless(defined($outputprefix)); $format = $outputprefix . shift(@text); #