summaryrefslogtreecommitdiff
path: root/src/net/eathena/chatrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-16 02:19:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-16 02:19:08 +0300
commit19b82b4dad9b66418a4e7d0ed0ba23d0cab17216 (patch)
tree0f82530b8e11d70923e96d5ba17107f92921365f /src/net/eathena/chatrecv.cpp
parentb49d05166ac67ed0ef189b1e3859573108843db1 (diff)
downloadplus-19b82b4dad9b66418a4e7d0ed0ba23d0cab17216.tar.gz
plus-19b82b4dad9b66418a4e7d0ed0ba23d0cab17216.tar.bz2
plus-19b82b4dad9b66418a4e7d0ed0ba23d0cab17216.tar.xz
plus-19b82b4dad9b66418a4e7d0ed0ba23d0cab17216.zip
Remove default parameters from Being::setSpeech.
Diffstat (limited to 'src/net/eathena/chatrecv.cpp')
-rw-r--r--src/net/eathena/chatrecv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/chatrecv.cpp b/src/net/eathena/chatrecv.cpp
index 2748d76d7..60033bf55 100644
--- a/src/net/eathena/chatrecv.cpp
+++ b/src/net/eathena/chatrecv.cpp
@@ -262,7 +262,7 @@ void ChatRecv::processChatContinue(std::string chatMsg,
if (localPlayer != nullptr)
{
if (((chatWindow != nullptr) || Ea::ChatRecv::mShowMotd) && allow)
- localPlayer->setSpeech(chatMsg, GENERAL_CHANNEL);
+ localPlayer->setSpeech(chatMsg);
}
BLOCK_END("ChatRecv::processChat")
}
@@ -563,7 +563,7 @@ void ChatRecv::processBeingChat(Net::MessageIn &msg)
playerRelations.hasPermission(sender_name,
PlayerRelation::SPEECH_FLOAT))
{
- being->setSpeech(chatMsg, GENERAL_CHANNEL);
+ being->setSpeech(chatMsg);
}
BLOCK_END("ChatRecv::processBeingChat")
}