summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-27 01:05:53 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-27 01:05:53 +0000
commiteaf557fc86db69df9eabccb160f914f963ffe30f (patch)
tree52e610c81a7a4ce712f3052841817c426ae526aa /src/main.c
parent7e541ba7e1145c6118f69c7856e50d5976bbb07e (diff)
Added timeout directive to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1496 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 60a9ce8bf..d70e936ba 100644
--- a/src/main.c
+++ b/src/main.c
@@ -591,7 +591,7 @@ int main(int ac, char **av, char **envp)
last_update = t;
}
- if ((DefConTimeOut) && (t - last_DefCon >= dotime(DefConTimeOut))) {
+ if ((DefConTimeOut) && (t - last_DefCon >= DefConTimeOut)) {
resetDefCon(5);
last_DefCon = t;
}