summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-03-11 17:56:32 +0000
committerFedja Beader <fedja@protonmail.ch>2024-03-11 17:56:32 +0000
commit5278bef1049758777c3a0d653edb5de2340a78b5 (patch)
treedbaba9f7c1b9b7e761f7142d24db03a564a01450
parentd44e457369a68fa4fc2b811a3cb571970380e546 (diff)
downloadplus-5278bef1049758777c3a0d653edb5de2340a78b5.tar.gz
plus-5278bef1049758777c3a0d653edb5de2340a78b5.tar.bz2
plus-5278bef1049758777c3a0d653edb5de2340a78b5.tar.xz
plus-5278bef1049758777c3a0d653edb5de2340a78b5.zip
Typofix
**** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org> Approved-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
-rw-r--r--src/net/eathena/chathandler.cpp2
-rw-r--r--src/net/eathena/packetsout.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 3738f97b6..09873ad10 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -222,7 +222,7 @@ void ChatHandler::createChatRoom(const std::string &title,
const int limit,
const bool isPublic) const
{
- createOutPacket(CMSG_CREAYE_CHAT_ROOM);
+ createOutPacket(CMSG_CREATE_CHAT_ROOM);
outMsg.writeInt16(CAST_S16(
7 + 8 + 36), "len");
outMsg.writeInt16(CAST_S16(limit), "limit");
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index 1c83818db..9f2aafa55 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -73,7 +73,7 @@ packet2(CMSG_CHAT_JOIN_CHANNEL, 0x0b07, 0, nullptr);
packet2(CMSG_CHAT_PART_CHANNEL, 0x0b09, 0, nullptr);
packet(CMSG_BATTLE_CHAT_MESSAGE, 0x02db, -1, clif->pBattleChat);
-packet(CMSG_CREAYE_CHAT_ROOM, 0x00d5, -1, clif->pCreateChatRoom);
+packet(CMSG_CREATE_CHAT_ROOM, 0x00d5, -1, clif->pCreateChatRoom);
packet(CMSG_LEAVE_CHAT_ROOM, 0x00e3, 2, clif->pChatLeave);
packet(CMSG_SET_CHAT_ROOM_OPTIONS, 0x00de, -1, clif->pChatRoomStatusChange);
packet(CMSG_SET_CHAT_ROOM_OWNER, 0x00e0, 30, clif->pChangeChatOwner);