summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index a8f9709ed..e35fcbc8b 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -704,7 +704,7 @@ void ChatHandler::processChatRoomJoinAck(Net::MessageIn &msg)
obj->currentUsers = oldChat->currentUsers;
obj->type = oldChat->type;
obj->title = oldChat->title;
- obj->update();
+// obj->update();
localPlayer->setChat(obj);
}
@@ -926,8 +926,8 @@ void ChatHandler::processChatRoomCreateAck(Net::MessageIn &msg)
void ChatHandler::processChatRoomDestroy(Net::MessageIn &msg)
{
- UNIMPLIMENTEDPACKET;
- msg.readInt32("chat id");
+ const int chatId = msg.readInt32("chat id");
+ actorManager->removeRoom(chatId);
}
void ChatHandler::processChatRoomJoinFailed(Net::MessageIn &msg)