From bfcaef8623bb3f8faf1141eb7b3805ab75ae97dd Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 May 2007 18:38:00 +0000 Subject: Refactor port binding, warning not yet tested fully git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6982 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'include/configreader.h') diff --git a/include/configreader.h b/include/configreader.h index eefa359c9..db4c6d3d5 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -426,11 +426,6 @@ class ServerConfig : public Extensible */ char HideKillsServer[MAXBUF]; - /** A list of IP addresses the server is listening - * on. - */ - char addrs[MAXBUF][255]; - /** The MOTD file, cached in a file_cache type. */ file_cache MOTD; @@ -453,13 +448,9 @@ class ServerConfig : public Extensible */ std::vector module_names; - /** A list of ports which the server is listening on - */ - int ports[255]; - - /** A list of the file descriptors for the listening client ports + /** A list of the classes for listening client ports */ - ListenSocket* openSockfd[255]; + std::vector ports; /** Boolean sets of which modules implement which functions */ -- cgit v1.3.1-10-gc9f91