]> jfr.im git - irc/atheme/atheme.git/commitdiff
contrib/cap_sasl.pl: ./foo is a relative path
authorMantas Mikulėnas <redacted>
Thu, 18 Dec 2014 05:37:16 +0000 (07:37 +0200)
committerMantas Mikulėnas <redacted>
Thu, 18 Dec 2014 05:37:16 +0000 (07:37 +0200)
contrib/cap_sasl.pl

index d2821d52987c036ff88bc84d00b9bdfa4b2be650..99e6b7c2dbad96135a5f4d0c0d1c166cb0e39b6b 100644 (file)
@@ -4,7 +4,7 @@ use MIME::Base64;
 use vars qw($VERSION %IRSSI);
 use constant CHALLENGE_SIZE => 32;
 
-$VERSION = "1.8";
+$VERSION = "1.8a";
 %IRSSI = (
     authors     => 'Michael Tharp (gxti), Jilles Tjoelker (jilles), Mantas Mikulėnas (grawity)',
     contact     => 'grawity@gmail.com',
@@ -273,7 +273,7 @@ if (eval {require Crypt::PK::ECC}) {
                my ($sasl, $data) = @_;
                my $u = $sasl->{user};
                my $k = $sasl->{password};
-               if ($k !~ m!^[/.]!) {
+               if ($k !~ m!^/!) {
                        $k = Irssi::get_irssi_dir()."/".$k;
                }
                if (!-f $k) {