diff options
Diffstat (limited to 'src/map/guild.c')
-rw-r--r-- | src/map/guild.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/guild.c b/src/map/guild.c index 462f2cd76..a0f894f18 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -648,6 +648,12 @@ int guild_invite(struct map_session_data *sd,struct map_session_data *tsd) return 0; } } + + if (!tsd->fd) { //You can't invite someone who has already disconnected. + clif_guild_inviteack(sd,1); + return 0; + } + if(tsd->status.guild_id>0 || tsd->guild_invite>0 || (agit_flag && map[tsd->bl.m].flag.gvg_castle)) |