diff options
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 7 |
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) |