summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r--src/net/eathena/guildhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 9d5e15f48..42c0bd951 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -70,6 +70,11 @@ void GuildHandler::invite(const std::string &name) const
outMsg.writeInt32(0, "unused");
outMsg.writeInt32(0, "unused");
}
+ else if (packetVersion >= 20120418)
+ {
+ createOutPacket(CMSG_GUILD_INVITE2);
+ outMsg.writeString(being->getName(), 24, "name");
+ }
}
void GuildHandler::invite(const Being *const being) const