summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-11 01:00:01 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-11 01:00:01 +0300
commit2f768a34f72560ee8b2934228f548a4909533887 (patch)
tree0849395dea15a851fcec1a6236c29648cb41add7 /src/net/eathena
parent05edba87ab0dae7ac4480c86655afe59cd1dd3bd (diff)
downloadplus-2f768a34f72560ee8b2934228f548a4909533887.tar.gz
plus-2f768a34f72560ee8b2934228f548a4909533887.tar.bz2
plus-2f768a34f72560ee8b2934228f548a4909533887.tar.xz
plus-2f768a34f72560ee8b2934228f548a4909533887.zip
Rename player_relations into playerRelations.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/chatrecv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/chatrecv.cpp b/src/net/eathena/chatrecv.cpp
index 36bcc5bfe..9e766be83 100644
--- a/src/net/eathena/chatrecv.cpp
+++ b/src/net/eathena/chatrecv.cpp
@@ -486,7 +486,7 @@ void ChatRecv::processWhisperContinue(const std::string &nick,
if (nick != "Server")
{
- if (player_relations.hasPermission(nick, PlayerRelation::WHISPER))
+ if (playerRelations.hasPermission(nick, PlayerRelation::WHISPER))
chatWindow->addWhisper(nick, chatMsg);
}
else if (localChatTab != nullptr)
@@ -537,7 +537,7 @@ void ChatRecv::processBeingChat(Net::MessageIn &msg)
// We use getIgnorePlayer instead of ignoringPlayer here
// because ignorePlayer' side effects are triggered
// right below for Being::IGNORE_SPEECH_FLOAT.
- if ((player_relations.checkPermissionSilently(sender_name,
+ if ((playerRelations.checkPermissionSilently(sender_name,
PlayerRelation::SPEECH_LOG) != 0u) && (chatWindow != nullptr))
{
allow = chatWindow->resortChatLog(
@@ -550,7 +550,7 @@ void ChatRecv::processBeingChat(Net::MessageIn &msg)
if (allow &&
being != nullptr &&
- player_relations.hasPermission(sender_name,
+ playerRelations.hasPermission(sender_name,
PlayerRelation::SPEECH_FLOAT))
{
being->setSpeech(chatMsg, GENERAL_CHANNEL);