diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/connection.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/connection.h b/include/connection.h index 710b90a2d..de6635f4a 100644 --- a/include/connection.h +++ b/include/connection.h @@ -36,9 +36,6 @@ class ircd_connector : public classbase */ sockaddr_in addr; - char host[MAXBUF]; - int port; - /** File descriptor of the connection */ int fd; @@ -65,6 +62,9 @@ class ircd_connector : public classbase bool SetHostAddress(char* host, int port); public: + char host[MAXBUF]; + int port; + bool MakeOutboundConnection(char* host, int port); std::string GetServerName(); |