summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsaac Good2016-12-06 18:22:39 -0800
committerIsaac Good2016-12-06 18:22:39 -0800
commit86bf168817775db2359e45c6672930471c67c08e (patch)
treec002a85c5e3ffa22f1447603be0db1555759314b
parentc6a8871200c852e3a0f7a3fe924a686679689f33 (diff)
downloadscripts.irssi.org-86bf168817775db2359e45c6672930471c67c08e.tar.bz2
Support multiple spaces between tag and password
-rw-r--r--scripts/ident.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ident.pl b/scripts/ident.pl
index 0c0de96..1250825 100644
--- a/scripts/ident.pl
+++ b/scripts/ident.pl
@@ -35,7 +35,7 @@ sub LoadPasswords {
{
chomp $line;
next unless ($line);
- my ($tag, $password) = split(/ /, $line, 2);
+ my ($tag, $password) = split(/ */, $line, 2);
next unless ($tag and $password);
$pw{$tag} = $password;
}