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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 56a661da1..dc79ed198 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -90,7 +90,7 @@ void GuildHandler::invite(const std::string &name) const
else if (packetVersion >= 20120418)
{
createOutPacket(CMSG_GUILD_INVITE2);
- outMsg.writeString(being->getName(), 24, "name");
+ outMsg.writeString(name, 24, "name");
}
}