hide password in log files in opt_password (oset password)
[srvx.git] / 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;
 }