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:
ultramage 2008-09-04 15:29:06 +00:00
parent eb67080768
commit 6efa1dd946

View File

@ -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;
}