X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite%2FBase.pm;h=cf8bafa51e4e99f2a513d00e4f2d5b17f48436d4;hb=ffc24eec49bbdb6117e3a67e6080c119fba6575d;hp=8e9658569a7dc136a2ea92a7cc9ad89525555a7e;hpb=5390845618e68d90232d695e28d3056c56d23c04;p=videosite.git diff --git a/videosite/Base.pm b/videosite/Base.pm index 8e96585..cf8bafa 100644 --- a/videosite/Base.pm +++ b/videosite/Base.pm @@ -21,8 +21,11 @@ sub new { sub error { my $self = shift; my @data = @_; + my $t; - Irssi::print(sprintf(shift(@_), @_)); + $t = sprintf(shift(@_), @_); + $t =~ s/%/%%/g; + Irssi::print($t); } sub debug {