hide password in log files in opt_password (oset password)
authorpk910 <philipp@zoelle1.de>
Mon, 30 Jan 2012 23:43:07 +0000 (00:43 +0100)
committerpk910 <philipp@zoelle1.de>
Mon, 30 Jan 2012 23:43:07 +0000 (00:43 +0100)
src/nickserv.c

index 2c2c8b6297f1875deb373d4e27ca1cec4c131abd..581d9b47d57ca0c881d6e6d3dca5af0eda1edcce 100644 (file)
@@ -2813,6 +2813,8 @@ static OPTION_FUNC(opt_password)
         cryptpass(argv[1], hi->passwd);
 
     send_message(user, nickserv, "NSMSG_SET_PASSWORD", "***");
+    argv[1] = "****";
+    
     return 1;
 }