summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
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;
};