Adjusted a spot that still caused a guild leader's guild skills to get blocked on login

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11146 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2007-09-08 16:54:12 +00:00
parent c3f5165bba
commit 8519665bdb
2 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/09/08
* Adjusted a spot that still blocked GL's skills on login [ultramage]
2007/09/07
* Added support for the new party invite/reply packets from the latest
client version.

View File

@ -550,11 +550,13 @@ int guild_recv_info(struct guild *sg)
// 最初のロードなのでユーザーのチェックを行う
guild_check_member(sg);
//If the guild master is online the first time the guild_info is received, that means he was the first to join,
//and as such, his guild skills should be blocked to avoid login/logout abuse [Skotlex]
if ((sd = map_nick2sd(sg->master)) != NULL)
{
guild_block_skill(sd, 300000);
//If the guild master is online the first time the guild_info is received, that means he was the first to join,
//and as such, his guild skills should be blocked to avoid login/logout abuse [Skotlex]
//(optionally)
//guild_block_skill(sd, 300000);
//Also set the guild master flag.
sd->state.gmaster_flag = g;
clif_charnameupdate(sd); // [LuzZza]