Removed debug log message that outputs the password.
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
parent
ed53af6ca6
commit
12362038a7
@ -55,8 +55,6 @@ GSList *players = NULL;
|
|||||||
gboolean
|
gboolean
|
||||||
wmud_player_auth(wmudClient *client)
|
wmud_player_auth(wmudClient *client)
|
||||||
{
|
{
|
||||||
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Player entered %s as password", client->buffer->str);
|
|
||||||
|
|
||||||
if (g_strcmp0(crypt(client->buffer->str, client->player->cpassword), client->player->cpassword) == 0)
|
if (g_strcmp0(crypt(client->buffer->str, client->player->cpassword), client->player->cpassword) == 0)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user