diff options
Diffstat (limited to 'scripts/ircgallery.pl')
| -rw-r--r-- | scripts/ircgallery.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ircgallery.pl b/scripts/ircgallery.pl index c044a45..d700210 100644 --- a/scripts/ircgallery.pl +++ b/scripts/ircgallery.pl @@ -50,7 +50,7 @@ sub print_gallery { my $next_channels = 0; my $channels; - $. = "\n"; + local $/ = "\n"; my $f = gensym; if (!open($f, "<", "$cache_path/$nick")) { Irssi::print("Couldn't open file $cache_path/$nick: $!", MSGLEVEL_CLIENTERROR); |
