From: Michael Andreen Date: Wed, 26 Aug 2009 11:28:45 +0000 (+0200) Subject: Fixed typo X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=commitdiff_plain;h=6869ced9b1972cf5839e0c9049d900031d1466b6 Fixed typo --- diff --git a/Commands/Channel.pm b/Commands/Channel.pm index f83969e..3907a89 100644 --- a/Commands/Channel.pm +++ b/Commands/Channel.pm @@ -130,7 +130,7 @@ sub getpass 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)");