From 41d9b45817f8f21f656e96bfebf3ed672ac3a2c1 Mon Sep 17 00:00:00 2001 From: James Seward Date: Sun, 1 Feb 2015 18:29:23 +0000 Subject: 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. --- scripts/people.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3