summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-08 20:23:00 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-08 20:23:00 +0000
commit973ecb7058325931d14a9537e5e3e57595347a10 (patch)
tree43585f36085949a1b494374572fa4e3dc25b0960 /include/configreader.h
parente1ff14e0c44d0a115372a821559b782c57c793f3 (diff)
Rewrote sockets. This adds support for IPv6 and makes Anope capable of reconnecting if it loses connection to the uplink.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2862 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/configreader.h b/include/configreader.h
index a461c1f15..c6dbbefb8 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -384,8 +384,6 @@ class ServerConfig
/* Host to connect to **/
char *LocalHost;
- /* Port */
- unsigned LocalPort;
/* List of uplink servers to try and connect to */
std::list<Uplink *> Uplinks;
@@ -475,7 +473,7 @@ class ServerConfig
bool ForceForbidReason;
/* Services should use privmsgs instead of notices */
bool UsePrivmsg;
- /* Services only respond to full PRIVMSG client@services.server.name messaegs */
+ /* Services only respond to full PRIVMSG client@services.server.name messages */
bool UseStrictPrivMsg;
/* Dump a core file if we crash */
bool DumpCore;
@@ -490,6 +488,10 @@ class ServerConfig
std::string MLock;
/* Default botmodes on channels, defaults to ao */
std::string BotModes;
+ /* How many times to try and reconnect to the uplink before giving up */
+ unsigned MaxRetries;
+ /* How long to wait between connection attempts */
+ int RetryWait;
/* Services can use email */
bool UseMail;