From 189689716cca8959f8eb8851a37ef16fdbc0584d Mon Sep 17 00:00:00 2001 From: Kahrl Date: Mon, 21 Nov 2011 01:35:44 +0100 Subject: Notify player whose password is being changed --- src/servercommand.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/servercommand.cpp b/src/servercommand.cpp index d971b18a0..e2e84bacb 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<