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.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 7a682105f..bea84f005 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -250,8 +250,8 @@ void GuildHandler::leave(const int guildId) const
msg.writeString("", 40); // Message
}
-void GuildHandler::kick(const GuildMember *const member,
- const std::string &reason) const
+void GuildHandler::kick(const GuildMember *restrict const member,
+ const std::string &restrict reason) const
{
if (!member || !member->getGuild())
return;
@@ -314,8 +314,9 @@ void GuildHandler::changeMemberPostion(const GuildMember *const member,
msg.writeInt32(level); // pos
}
-void GuildHandler::changeNotice(const int guildId, const std::string &msg1,
- const std::string &msg2) const
+void GuildHandler::changeNotice(const int guildId,
+ const std::string &restrict msg1,
+ const std::string &restrict msg2) const
{
MessageOut msg(CMSG_GUILD_CHANGE_NOTICE);
msg.writeInt32(guildId);