summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-22 00:04:46 +0000
committerSadie Powell <sadie@witchery.services>2024-02-22 00:14:08 +0000
commitd4f4bcf23cc55abe77edeb6139257e504c627e38 (patch)
tree82df37fa02bd82f71d2a0a6b9f1bc8a54f1fcc6d /src
parent82fa7e1467160332aa3692db5d3c58e54d50bbc7 (diff)
Remove UplinkSocket::Message now nothing uses it.
Diffstat (limited to 'src')
-rw-r--r--src/uplink.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/uplink.cpp b/src/uplink.cpp
index c3c6dbd41..a6343f7db 100644
--- a/src/uplink.cpp
+++ b/src/uplink.cpp
@@ -170,22 +170,3 @@ void UplinkSocket::OnError(const Anope::string &err)
Log(LOG_TERMINAL) << what << " uplink #" << (Anope::CurrentUplink + 1) << " (" << Config->Uplinks[Anope::CurrentUplink].host << ":" << Config->Uplinks[Anope::CurrentUplink].port << ")" << (!err.empty() ? (": " + err) : "");
error |= !err.empty();
}
-
-UplinkSocket::Message::Message() : source(Me)
-{
-}
-
-UplinkSocket::Message::Message(const MessageSource &src) : source(src)
-{
-}
-
-UplinkSocket::Message::~Message()
-{
- // This is all temporary as UplinkSocket::Message is going to to die as soon
- // as everything is migrated to Uplink::Send.
- Anope::map<Anope::string> tags;
- Anope::string unused, command;
- std::vector<Anope::string> params;
- if (IRCD->Parse(this->buffer.str(), tags, unused, command, params))
- Uplink::SendInternal(tags, source, command, params);
-}