summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-05-21 04:57:27 -0400
committerAdam <Adam@anope.org>2011-05-21 04:57:27 -0400
commit115f94bfc23c481eab50298895f76bd494179cd8 (patch)
treeeeda28c466e9f2f532b2dee75cb817eba9066357 /include/config.h
parent7e5727288d9b2da5b53476b91f8cb9fe96e14d53 (diff)
Made Anope able to process normally when disconnected from the uplink and not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp.
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index b06aa60d8..07815466e 100644
--- a/include/config.h
+++ b/include/config.h
@@ -345,7 +345,7 @@ class CoreExport ServerConfig
/* Host to connect to **/
Anope::string LocalHost;
/* List of uplink servers to try and connect to */
- std::list<Uplink *> Uplinks;
+ std::vector<Uplink *> Uplinks;
/* Our server name */
Anope::string ServerName;
@@ -453,8 +453,6 @@ class CoreExport ServerConfig
Anope::string BotModes;
/* THe actual modes */
ChannelStatus BotModeList;
- /* How many times to try and reconnect to the uplink before giving up */
- unsigned MaxRetries;
/* How long to wait between connection attempts */
int RetryWait;
/* If services should hide unprivileged commands */