diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-03-30 12:37:29 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-03-30 12:37:29 +0200 |
commit | f67aba687bb425ee8d2c810e00665a5bccf77af2 (patch) | |
tree | 5f46295b686f70e618b5ea474b6148fa7bf1ba50 /src | |
parent | c0cd24b658a6e98b40c094d468cd1a405f37b7ad (diff) |
Remove User::SendText() and overrides completely
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 21 |
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); |