diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index 9ea98903a..a4e604803 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -272,8 +272,9 @@ void GuildHandler::chat(const int guildId A_UNUSED, const std::string str = std::string(localPlayer->getName()).append( " : ").append(text); MessageOut msg(CMSG_GUILD_MESSAGE); - msg.writeInt16(static_cast<uint16_t>(str.size() + 4)); + msg.writeInt16(static_cast<uint16_t>(str.size() + 4 + 1)); msg.writeString(str, static_cast<int>(str.length())); + msg.writeInt8(0); } void GuildHandler::memberList(const int guildId A_UNUSED) const |