diff options
Diffstat (limited to 'src/net/eathena/clanrecv.cpp')
-rw-r--r-- | src/net/eathena/clanrecv.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/clanrecv.cpp b/src/net/eathena/clanrecv.cpp index 7324003b3..c2c5680db 100644 --- a/src/net/eathena/clanrecv.cpp +++ b/src/net/eathena/clanrecv.cpp @@ -27,6 +27,7 @@ #include "gui/widgets/tabs/chat/clantab.h" #include "gui/windows/chatwindow.h" +#include "gui/windows/clanwindow.h" #include "net/messagein.h" @@ -72,17 +73,21 @@ void ClanRecv::processClanInfo(Net::MessageIn &msg) localClan.stats = info->stats; } createTab(); + clanWindow->updateClan(); } void ClanRecv::processClanOnlineCount(Net::MessageIn &msg) { localClan.onlineMembers = msg.readInt16("online members count"); localClan.totalMembers = msg.readInt16("total members count"); + clanWindow->updateClanMembers(); } void ClanRecv::processClanLeave(Net::MessageIn &msg A_UNUSED) { delete2(clanTab); + localClan.clear(); + clanWindow->resetClan(); } void ClanRecv::processClanChat(Net::MessageIn &msg) |