From 115f94bfc23c481eab50298895f76bd494179cd8 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 21 May 2011 04:57:27 -0400 Subject: 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. --- data/example.conf | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'data') diff --git a/data/example.conf b/data/example.conf index f98b8b9f5..6aed17fda 100644 --- a/data/example.conf +++ b/data/example.conf @@ -456,14 +456,6 @@ options */ botmodes = "ao" - /* - * How many times services should attempt to reconnect to the uplink before giving up - * Comment this out to never give up. - * - * This directive is optional. - */ - maxretries = 10 - /* * How long to wait between connection retries, in seconds. */ @@ -707,17 +699,19 @@ oper #certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7" } +/* oper { - #name = "nick2" + name = "nick2" type = "Services Administrator" } oper { - #name = "nick3" + name = "nick3" type = "Helper" } +*/ /* * [OPTIONAL] Mail Config @@ -1742,16 +1736,19 @@ defcon * You may also include executable files, which will be executed and * the output from it will be included into your configuration. */ + +/* include { - #type = "file" - #name = "some_other.conf" + type = "file" + name = "some_other.conf" } include { - #type = "executable" - #name = "/usr/bin/wget -q -O - http://some.miconfigured.network.com/services.conf" + type = "executable" + name = "/usr/bin/wget -q -O - http://some.miconfigured.network.com/services.conf" } +*/ /* * [OPTIONAL] Non-Core Modules -- cgit