rename player -> user
[umurmur.git] / src / log.c
index 8990c03cd448adab31cc5c7edfba21d1564dc81d..94f86a822503dda3bd18ed0aaab3661ee1b65d46 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -115,7 +115,7 @@ void Log_info_client(client_t *client, const char *logstring, ...)
        va_end(argp);
        offset += snprintf(&buf[offset], STRSIZE - offset, " - [%d] %s@%s:%d",
                                           client->sessionId,
-                                          client->playerName == NULL ? "" : client->playerName,
+                                          client->username == NULL ? "" : client->username,
                                           inet_ntoa(client->remote_tcp.sin_addr),
                                           ntohs(client->remote_tcp.sin_port));
        strcat(buf, "\n");