summaryrefslogtreecommitdiff
path: root/include/inspircd_io.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 18:00:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 18:00:59 +0000
commit665d01855ea1b54e48c0acdf9db44a8dbf0f3dc6 (patch)
tree8d93afff2c44402dac0ce9a1f5f4407aef40e75b /include/inspircd_io.h
parent6de0aaaef692aa6a30e77cc76cf6e80bbc6e4500 (diff)
Fixed to use MAXSOCKS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2431 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd_io.h')
-rw-r--r--include/inspircd_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/inspircd_io.h b/include/inspircd_io.h
index 58c018c25..f07666747 100644
--- a/include/inspircd_io.h
+++ b/include/inspircd_io.h
@@ -246,6 +246,10 @@ class ServerConfig : public classbase
*/
std::vector<std::string> module_names;
+ /** A list of ports which the server is listening on
+ */
+ int ports[MAXSOCKS];
+
ServerConfig();
/** Clears the include stack in preperation for