From: James Seward Date: Sun, 1 Feb 2015 18:29:23 +0000 (+0000) Subject: Set record break char to newline when loading X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=41d9b45817f8f21f656e96bfebf3ed672ac3a2c1;p=irssi-scripts.irssi.org.git Set record break char to newline when loading I think another script of mine was breaking it, so people.pl couldn't load its own config file as it thought the whole thing was one massive line. --- diff --git a/scripts/people.pl b/scripts/people.pl index 9823207..e35f578 100644 --- a/scripts/people.pl +++ b/scripts/people.pl @@ -11,7 +11,7 @@ unless ($@) { import Crypt::PasswdMD5; } -$VERSION = "1.7"; +$VERSION = "1.8"; %IRSSI = ( authors => "Marcin 'Qrczak' Kowalczyk, Johan 'ion' Kiviniemi", @@ -1427,6 +1427,7 @@ sub load_config() { %user_flags = (); %channel_flags = (); %user_channel_flags = (); + local $/ = "\n"; open CONFIG, $config or return; while () { chomp;