diff options
| author | David Leadbeater | 2015-01-10 17:49:34 +0000 |
|---|---|---|
| committer | David Leadbeater | 2015-01-10 17:49:34 +0000 |
| commit | 2d920d6f610e176bf121f9089f21956595df70e9 (patch) | |
| tree | 287ac1dba07509317309acab3161f5da286958e9 /scripts/linkchan.pl | |
| parent | 1bae3cffef57d4d46d0230aa4f44cc52c7671b93 (diff) | |
| parent | d84f1e1808b3252af83e4963eccfd1e4f19c5326 (diff) | |
| download | scripts.irssi.org-2d920d6f610e176bf121f9089f21956595df70e9.tar.bz2 | |
Merge branch 'perlcritic-e-l' of git://github.com/obfuscoder/scripts.irssi.org into obfuscoder-perlcritic-e-l
Conflicts:
scripts/eng_no_translate_dpryo.pl
Diffstat (limited to 'scripts/linkchan.pl')
| -rw-r--r-- | scripts/linkchan.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/linkchan.pl b/scripts/linkchan.pl index 08476fa..34fb619 100644 --- a/scripts/linkchan.pl +++ b/scripts/linkchan.pl @@ -92,7 +92,7 @@ Irssi::command_bind "link list", sub sub save_config() { - open CONFIG, ">$config"; + open CONFIG, ">", $config; foreach my $chatnet1 (keys %links) { foreach my $channel1 (keys %{$links{$chatnet1}}) @@ -113,7 +113,7 @@ Irssi::signal_add "setup saved", sub sub load_config() { %links = (); - open CONFIG, $config or return; + open CONFIG, "<", $config or return; while (<CONFIG>) { chomp; |
