From f1a0c6dde81f313252da9916bff0d7f7b46f3a8b Mon Sep 17 00:00:00 2001 From: "Gergely Polonkai (W00d5t0ck)" Date: Thu, 29 Mar 2012 19:01:53 +0200 Subject: [PATCH] Fixed non-working failcount sending code. Signed-off-by: Gergely Polonkai (W00d5t0ck) --- wmud/game-networking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmud/game-networking.c b/wmud/game-networking.c index 0bb6504..ce609e4 100644 --- a/wmud/game-networking.c +++ b/wmud/game-networking.c @@ -209,7 +209,7 @@ wmud_client_callback(GSocket *client_socket, GIOCondition condition, wmudClient client->authenticated = TRUE; if (client->player->fail_count > 0) { - wmud_client_send("There %s %d failed login attempt%s with your account since your last visit\r\n", (client->player->fail_count == 1) ? "was" : "were", client->player->fail_count, (client->player->fail_count > 1) ? "s" : ""); + wmud_client_send(client, "There %s %d failed login attempt%s with your account since your last visit\r\n", (client->player->fail_count == 1) ? "was" : "were", client->player->fail_count, (client->player->fail_count > 1) ? "s" : ""); } client->state = WMUD_CLIENT_STATE_MENU; /* TODO: send MOTD */