diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-15 02:10:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-15 02:10:09 +0300 |
commit | 435c12617241fb87225987f2e3f0521cf2dbae75 (patch) | |
tree | 16add38ce29c63cea06757bb835eadbfb4e59a01 /src/net/ea | |
parent | c29d9bec9751fbd836e59cb3ba60e778fca2f987 (diff) | |
download | plus-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/ea')
-rw-r--r-- | src/net/ea/chathandler.cpp | 5 | ||||
-rw-r--r-- | src/net/ea/chathandler.h | 3 |
2 files changed, 3 insertions, 5 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 diff --git a/src/net/ea/chathandler.h b/src/net/ea/chathandler.h index a7fdb0e88..da6d1397c 100644 --- a/src/net/ea/chathandler.h +++ b/src/net/ea/chathandler.h @@ -41,8 +41,7 @@ class ChatHandler notfinal : public Net::ChatHandler ~ChatHandler() override; - void me(const std::string &restrict text, - const std::string &restrict channel) const override final; + void me(const std::string &restrict text) const override final; void clear() const override final; }; |