From f67aba687bb425ee8d2c810e00665a5bccf77af2 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 30 Mar 2016 12:37:29 +0200 Subject: Remove User::SendText() and overrides completely --- src/users.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src') 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); -- cgit v1.2.3