aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-04-18 19:54:39 +0100
committerGravatar Sadie Powell2021-04-19 00:14:53 +0100
commitba6332b8ec1b21eabc38a4f7f1dcdb27297cd155 (patch)
treed4c2a1c5ddb2696c1554bc91a8240cbffd860888 /src/users.cpp
parentRip out the OnConnectionFail event. (diff)
Rip out the SwapInternals method.
This never really worked correctly and will now be replaced with something better.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/users.cpp b/src/users.cpp
index d6d386045..75f19353f 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -322,12 +322,6 @@ void UserIOHandler::AddWriteBuf(const std::string &data)
WriteData(data);
}
-void UserIOHandler::SwapInternals(UserIOHandler& other)
-{
- StreamSocket::SwapInternals(other);
- std::swap(checked_until, other.checked_until);
-}
-
bool UserIOHandler::OnSetLocalEndPoint(const irc::sockets::sockaddrs& ep)
{
memcpy(&user->server_sa, &ep, sizeof(irc::sockets::sockaddrs));