summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/guild.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index 8af73acba..a12d1544d 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -677,7 +677,12 @@ int guild_reply_invite(struct map_session_data* sd, int guild_id, int flag)
//NOTE: this can be NULL because the person might have logged off in the meantime
tsd = map_id2sd(sd->guild_invite_account);
- if( flag == 0 )
+ if ( sd->status.guild_id > 0 ) // [Paradox924X]
+ { // Already in another guild.
+ if ( tsd ) clif_guild_inviteack(tsd,0);
+ return 0;
+ }
+ else if( flag == 0 )
{// rejected
sd->guild_invite = 0;
sd->guild_invite_account = 0;