summaryrefslogtreecommitdiff
path: root/include/connection.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-15 12:20:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-15 12:20:52 +0000
commit9e38366b9562e1bc099c5392ba0b3cdfebeb9746 (patch)
tree22521413d4cc377d47468047fceece1057bef7ea /include/connection.h
parentf72964d7bff8b39185cdf05652bdc9f2ced0e8cf (diff)
Mesh tweaks (wasnt sending the ip in the + packet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@605 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/connection.h')
-rw-r--r--include/connection.h6
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();