summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/guild.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index ec5b42af2..9b128c4e1 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -799,6 +799,7 @@ int guild_member_added(int guild_id,int account_id,int char_id,int flag)
//if all ok add player to guild
sd->status.guild_id = g->guild_id;
sd->guild_emblem_id = g->emblem_id;
+ sd->guild = g;
//Packets which were sent in the previous 'guild_sent' implementation.
clif->guild_belonginfo(sd,g);
clif->guild_notice(sd,g);