git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbddf7d
)
- Fix funky coloured characters in debugging mode
author
Ralf Ertzinger
<sun@ryoko.camperquake.de>
Mon, 7 Jan 2008 20:02:44 +0000
(21:02 +0100)
committer
Ralf Ertzinger
<sun@ryoko.camperquake.de>
Mon, 7 Jan 2008 20:02:44 +0000
(21:02 +0100)
videosite/Base.pm
patch
|
blob
|
history
diff --git
a/videosite/Base.pm
b/videosite/Base.pm
index
8e96585
..
cf8bafa
100644
(file)
--- 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 {