From 2cdd26078b672c19ba4f440df20a59082b00a1f6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Feb 2015 23:48:24 +0300 Subject: Move talkPet from ea namespace into eathena and tmwa. --- src/net/ea/chathandler.cpp | 8 -------- src/net/ea/chathandler.h | 3 --- 2 files changed, 11 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp index 50df82ff3..30bef2118 100644 --- a/src/net/ea/chathandler.cpp +++ b/src/net/ea/chathandler.cpp @@ -79,14 +79,6 @@ void ChatHandler::me(const std::string &restrict text, talk(action, channel); } -void ChatHandler::talkPet(const std::string &restrict text, - const std::string &restrict channel) const -{ - // here need string duplication - std::string action = strprintf("\302\202\303 %s", text.c_str()); - talk(action, channel); -} - std::string ChatHandler::getPopLastWhisperNick() { std::string nick; diff --git a/src/net/ea/chathandler.h b/src/net/ea/chathandler.h index 5792bedac..fd2a67fa7 100644 --- a/src/net/ea/chathandler.h +++ b/src/net/ea/chathandler.h @@ -44,9 +44,6 @@ class ChatHandler notfinal : public Net::ChatHandler A_DELETE_COPY(ChatHandler) - void talkPet(const std::string &restrict text, - const std::string &restrict channel) const override final; - void me(const std::string &restrict text, const std::string &restrict channel) const override final; -- cgit v1.2.3-70-g09d2