]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
Support multiple spaces between tag and password
authorIsaac Good <redacted>
Wed, 7 Dec 2016 02:22:39 +0000 (18:22 -0800)
committerIsaac Good <redacted>
Wed, 7 Dec 2016 02:22:39 +0000 (18:22 -0800)
scripts/ident.pl

index 0c0de96b73dcb92ae59fb61766e2cf110e156534..125082566cab0be6f2a805a9a7c3850a1100c800 100644 (file)
@@ -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;
        }
git clone https://git.99rst.org/PROJECT