]> ruin.nu Git - NDIRC.git/commitdiff
Fixed typo
authorMichael Andreen <harv@ruin.nu>
Wed, 26 Aug 2009 11:28:45 +0000 (13:28 +0200)
committerMichael Andreen <harv@ruin.nu>
Wed, 26 Aug 2009 11:28:45 +0000 (13:28 +0200)
Commands/Channel.pm

index f83969ea8f4594f69b3f790e015412c608672329..3907a89547fe73b8307d723410f8e002233ffe24 100644 (file)
@@ -130,7 +130,7 @@ sub getpass
        my $password = generate_random_string 10;
        my $update = $dbh->do(q{
 UPDATE users SET password = MD5( ? )
        my $password = generate_random_string 10;
        my $update = $dbh->do(q{
 UPDATE users SET password = MD5( ? )
-WHERE uid  ? AND password =''
+WHERE uid = ? AND password =''
                },undef,$password,$c->uid);
        if ($update > 0){
                $c->reply("Password set to: $password (you can change it on webbie)");
                },undef,$password,$c->uid);
        if ($update > 0){
                $c->reply("Password set to: $password (you can change it on webbie)");