summaryrefslogtreecommitdiff
path: root/src/net/ea/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/ea/chathandler.cpp
parentc29d9bec9751fbd836e59cb3ba60e778fca2f987 (diff)
downloadmv-435c12617241fb87225987f2e3f0521cf2dbae75.tar.gz
mv-435c12617241fb87225987f2e3f0521cf2dbae75.tar.bz2
mv-435c12617241fb87225987f2e3f0521cf2dbae75.tar.xz
mv-435c12617241fb87225987f2e3f0521cf2dbae75.zip
Remove unused channel parameter from talk methods.s20180215
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r--src/net/ea/chathandler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 6b0d4bd2a..d616ab4ec 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -52,12 +52,11 @@ void ChatHandler::clear() const
ChatRecv::mSkipping = true;
}
-void ChatHandler::me(const std::string &restrict text,
- const std::string &restrict channel) const
+void ChatHandler::me(const std::string &restrict text) const
{
// here need string duplication
std::string action = strprintf("*%s*", text.c_str());
- talk(action, channel);
+ talk(action);
}
} // namespace Ea