From: Kahrl Date: Mon, 21 Nov 2011 00:35:44 +0000 (+0100) Subject: Notify player whose password is being changed X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=189689716cca8959f8eb8851a37ef16fdbc0584d;p=zefram%2Fminetest%2Fminetest_engine.git Notify player whose password is being changed --- diff --git a/src/servercommand.cpp b/src/servercommand.cpp index d971b18a..e2e84bac 100644 --- a/src/servercommand.cpp +++ b/src/servercommand.cpp @@ -326,6 +326,10 @@ void cmd_setclearpassword(std::wostringstream &os, ctx->server->setPlayerPassword(playername, password); + std::wostringstream msg; + msg<player->getName()<server->notifyPlayer(playername.c_str(), msg.str()); + os<