summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index ab5d17d47..47260cc2b 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -456,4 +456,10 @@ void PartyHandler::changeLeader(const std::string &name) const
outMsg.writeInt32(being->getId());
}
+void PartyHandler::allowInvite(const bool allow) const
+{
+ MessageOut outMsg(CMSG_PARTY_ALLOW_INVITES);
+ outMsg.writeInt8(allow ? 1 : 0);
+}
+
} // namespace EAthena