summaryrefslogtreecommitdiff
path: root/src/char_sql/int_party.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/int_party.c')
-rw-r--r--src/char_sql/int_party.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/int_party.c b/src/char_sql/int_party.c
index 3f3a88de1..c1c09e9a4 100644
--- a/src/char_sql/int_party.c
+++ b/src/char_sql/int_party.c
@@ -244,7 +244,7 @@ struct party_data *inter_party_fromsql(int party_id)
return NULL;
}
p->party.party_id = party_id;
- strncpy(&p->party.name, sql_row[1], NAME_LENGTH);
+ strncpy(p->party.name, sql_row[1], NAME_LENGTH);
p->party.exp = atoi(sql_row[2])?1:0;
p->party.item = atoi(sql_row[3]);
leader_id = atoi(sql_row[4]);