Removed registering field from wmudPlayer
This commit is contained in:
parent
f92c9f5ade
commit
b91ad8d87f
1
src/db.c
1
src/db.c
@ -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);
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user