diff --git a/lib/socket.cpp b/lib/socket.cpp index 89bf05d1..518c77db 100644 --- a/lib/socket.cpp +++ b/lib/socket.cpp @@ -444,7 +444,7 @@ std::string Socket::Connection::getHost(){ /// Sets hostname for connection manually. /// Overwrites the detected host, thus possibily making it incorrect. -void setHost(std::string host){ +void Socket::Connection::setHost(std::string host){ remotehost = host; }