Patched a dormant off-by-one bug in guild leader changing code, which was triggered by r11571 and caused guild data corruption on TXT charserver (bugreport:2175).
Blame goes to r3185 and r3719. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13191 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
eb67080768
commit
6efa1dd946
@ -1634,7 +1634,7 @@ int guild_gm_change(int guild_id, struct map_session_data *sd)
|
||||
return 0;
|
||||
|
||||
//Notify servers that master has changed.
|
||||
intif_guild_change_gm(guild_id, sd->status.name, strlen(sd->status.name));
|
||||
intif_guild_change_gm(guild_id, sd->status.name, strlen(sd->status.name)+1);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user