summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Wesley2015-02-01 18:40:51 +0000
committerTom Wesley2015-02-01 18:40:51 +0000
commitf2465c3b8bd82878ac02c9324173e74017bf0c89 (patch)
treed1e462935555ab903890542fa40a3b7f9a5e0e8f
parent24ac437ca11bc60f3b0d5ca5274116ff384b4612 (diff)
parent41d9b45817f8f21f656e96bfebf3ed672ac3a2c1 (diff)
downloadscripts.irssi.org-f2465c3b8bd82878ac02c9324173e74017bf0c89.tar.bz2
Merge pull request #129 from jamesoff/fix-people.pl
Set record break char to newline when loading config file in people.pl
-rw-r--r--scripts/people.pl3
1 files changed, 2 insertions, 1 deletions
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 (<CONFIG>) {
chomp;