summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-15 02:10:09 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-15 02:10:09 +0300
commit435c12617241fb87225987f2e3f0521cf2dbae75 (patch)
tree16add38ce29c63cea06757bb835eadbfb4e59a01 /src/net/eathena/chathandler.cpp
parentc29d9bec9751fbd836e59cb3ba60e778fca2f987 (diff)
downloadplus-435c12617241fb87225987f2e3f0521cf2dbae75.tar.gz
plus-435c12617241fb87225987f2e3f0521cf2dbae75.tar.bz2
plus-435c12617241fb87225987f2e3f0521cf2dbae75.tar.xz
plus-435c12617241fb87225987f2e3f0521cf2dbae75.zip
Remove unused channel parameter from talk methods.s20180215
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 10f55bba4..22a84e32f 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -54,8 +54,7 @@ ChatHandler::~ChatHandler()
chatHandler = nullptr;
}
-void ChatHandler::talk(const std::string &restrict text,
- const std::string &restrict channel A_UNUSED) const
+void ChatHandler::talk(const std::string &restrict text) const
{
if (localPlayer == nullptr)
return;
@@ -287,8 +286,7 @@ void ChatHandler::partChannel(const std::string &channel) const
}
}
-void ChatHandler::talkPet(const std::string &restrict text,
- const std::string &restrict channel A_UNUSED) const
+void ChatHandler::talkPet(const std::string &restrict text) const
{
if (text.empty())
return;