summaryrefslogtreecommitdiff
path: root/src/net/ea
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
parentc29d9bec9751fbd836e59cb3ba60e778fca2f987 (diff)
downloadmanaverse-435c12617241fb87225987f2e3f0521cf2dbae75.tar.gz
manaverse-435c12617241fb87225987f2e3f0521cf2dbae75.tar.bz2
manaverse-435c12617241fb87225987f2e3f0521cf2dbae75.tar.xz
manaverse-435c12617241fb87225987f2e3f0521cf2dbae75.zip
Remove unused channel parameter from talk methods.s20180215
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/chathandler.cpp5
-rw-r--r--src/net/ea/chathandler.h3
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;
};