summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-03-30 12:37:29 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-03-30 12:37:29 +0200
commitf67aba687bb425ee8d2c810e00665a5bccf77af2 (patch)
tree5f46295b686f70e618b5ea474b6148fa7bf1ba50 /src
parentc0cd24b658a6e98b40c094d468cd1a405f37b7ad (diff)
Remove User::SendText() and overrides completely
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 7437e8a20..afc8f6f11 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -927,27 +927,6 @@ void User::ForEachNeighbor(ForEachNeighborHandler& handler, bool include_self)
}
}
-void LocalUser::SendText(const std::string& line)
-{
- Write(line);
-}
-
-void RemoteUser::SendText(const std::string& line)
-{
- ServerInstance->PI->PushToClient(this, line);
-}
-
-void FakeUser::SendText(const std::string& line)
-{
-}
-
-void User::SendText(const char *text, ...)
-{
- std::string line;
- VAFORMAT(line, text, text);
- SendText(line);
-}
-
void User::WriteRemoteNumeric(const Numeric::Numeric& numeric)
{
WriteNumeric(numeric);