diff options
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index 63d88c624..5e7ed61a7 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -429,17 +429,16 @@ void GuildHandler::processGuildExpulsion(Net::MessageIn &msg) const void GuildHandler::processGuildExpulsionList(Net::MessageIn &msg) const { - const int length = msg.readInt16(); + const int length = msg.readInt16("len"); if (length < 4) return; - const int count = (length - 4) / 88; + const int count = (length - 4) / 64; for (int i = 0; i < count; i++) { - msg.readString(24); // Name (of expulsed?) - msg.readString(24); // 'Acc' (name of expulser?) - msg.readString(24); // Message + msg.readString(24, "name"); + msg.readString(40, "message"); } } |