summaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-08-28 15:13:25 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-12 15:05:24 +0100
commit3b595d39a50e38283768bc6ec8aeb9e73071224f (patch)
tree06a0e9e38726eaa7ece24bb288f85e318cca70a3 /src/socket.cpp
parent0a623f7a93b92171488d2d11902e42308c2e66c3 (diff)
Get rid of irc::sockets::satoap().
This function is being misused in all but one scenario. It isn't really worth keeping IMO.
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 018e0b0db..0ba57a810 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -159,13 +159,6 @@ std::string irc::sockets::sockaddrs::addr() const
return "";
}
-bool irc::sockets::satoap(const irc::sockets::sockaddrs& sa, std::string& addr, int &port)
-{
- port = sa.port();
- addr = sa.addr();
- return !addr.empty();
-}
-
std::string irc::sockets::sockaddrs::str() const
{
if (sa.sa_family == AF_INET)