Removed registering field from wmudPlayer

This commit is contained in:
Gergely POLONKAI 2012-03-23 13:07:27 +01:00
parent f92c9f5ade
commit b91ad8d87f
2 changed files with 0 additions and 2 deletions

View File

@ -56,7 +56,6 @@ wmud_db_players_load(GError **err)
player->player_name = g_strdup((gchar *)sqlite3_column_text(sth, 1)); player->player_name = g_strdup((gchar *)sqlite3_column_text(sth, 1));
player->cpassword = g_strdup((gchar *)sqlite3_column_text(sth, 2)); player->cpassword = g_strdup((gchar *)sqlite3_column_text(sth, 2));
player->email = g_strdup((gchar *)sqlite3_column_text(sth, 3)); player->email = g_strdup((gchar *)sqlite3_column_text(sth, 3));
player->registering = (player->cpassword == NULL);
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Loaded player _%s_", player->player_name); g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Loaded player _%s_", player->player_name);

View File

@ -24,7 +24,6 @@ typedef struct _wmudPlayer {
gchar *player_name; /* Player login name */ gchar *player_name; /* Player login name */
gchar *cpassword; /* Crypted password */ gchar *cpassword; /* Crypted password */
gchar *email; /* E-mail address */ gchar *email; /* E-mail address */
gboolean registering; /* Player is currently registering */
} wmudPlayer; } wmudPlayer;
typedef struct _wmudClient { typedef struct _wmudClient {