java-topology/defects/spring-rts-0002/patch/spring-rts-0002.patch

18 lines
722 B
Diff

# UNDF: UNDF-2026-000000988
--- a/rts/Net/GameServer.cpp
+++ b/rts/Net/GameServer.cpp
@@ -2487,10 +2487,10 @@
if (playerIter != players.end()) {
playerIter->SetValue("password", pwd);
- LOG("[%s] changed password for client \"%s\" to \"%s\"", __func__, name.c_str(), pwd.c_str());
+ LOG("[%s] changed password for client \"%s\"", __func__, name.c_str());
} else {
AddAdditionalUser(name, pwd, false, spectator, team);
- LOG("[%s] added %s \"%s\" with password \"%s\" to team %d",
- __func__, (spectator? "spectator": "player"), name.c_str(), pwd.c_str(), team
+ LOG("[%s] added %s \"%s\" to team %d",
+ __func__, (spectator? "spectator": "player"), name.c_str(), team
);
}