Permalink
Browse files

Merge pull request #2209 from dastgirp/issue/2173

Fixes #2173
  • Loading branch information...
MishimaHaruna committed Sep 23, 2018
2 parents 98e2ef2 + 1c2e90a commit fadc4ecbba8ac97af8be9f84c732e47c1629e30b
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/char/int_guild.c
View
@@ -443,7 +443,9 @@ static struct guild *inter_guild_fromsql(int guild_id)
if( m->position >= MAX_GUILDPOSITION ) // Fix reduction of MAX_GUILDPOSITION [PoW]
m->position = MAX_GUILDPOSITION - 1;
SQL->GetData(inter->sql_handle, 11, &data, &len); memcpy(m->name, data, min(len, NAME_LENGTH));
SQL->GetData(inter->sql_handle, 12, &data, NULL); m->last_login = atoi(data);
SQL->GetData(inter->sql_handle, 12, &data, NULL);
if (data != NULL)
m->last_login = atoi(data);
m->modified = GS_MEMBER_UNMODIFIED;
}

0 comments on commit fadc4ec

Please sign in to comment.