]> git.mmlx.us Git - destult.git/commitdiff
Amazing what a one-character typo can do.
authorpdbogen <pdbogen@088b83a4-0077-4247-935c-42ec02c2848b>
Tue, 29 Jun 2010 16:45:51 +0000 (16:45 +0000)
committerpdbogen <pdbogen@088b83a4-0077-4247-935c-42ec02c2848b>
Tue, 29 Jun 2010 16:45:51 +0000 (16:45 +0000)
git-svn-id: https://www.cernu.us/~pdbogen/svn/destult2@111 088b83a4-0077-4247-935c-42ec02c2848b

commands.yaml

index dd421734b0cec3e5273d1af9bf25dfb35af902fe..0d5d5309c4989b77a853654089355304c923252e 100644 (file)
@@ -334,7 +334,7 @@ SETPASSWORD: |-
     }
     my( $whom, $pass ) = split( / /, $what );
     if( exists( $heap->{ 'users' }->{ uc( $whom ) } ) ) {
-      $heap->{ 'users' }->{ uc( $who ) } = md5_hex( $pass );
+      $heap->{ 'users' }->{ uc( $whom ) } = md5_hex( $pass );
       DumpFile( "users.yaml", $heap->{ 'users' } );
       $kernel->post( $src, $replypath, "Password changed.", $dest );
     } else {