libvideosite: Allow calls to _io without arguments (to print an empty line)
[videosite.git] / libvideosite.pm
index bebc8a5..b581e5a 100644 (file)
@@ -130,6 +130,8 @@ sub _io {
     my @text = @_;
     my $format;
 
+    @text = ('') unless(@text);
+
     # This will define the outputprefix once, so we don't have
     # do do this every time.
     $outputprefix = sprintf("%svideosite: %s",