summaryrefslogtreecommitdiff
path: root/src/operserv.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/operserv.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/operserv.c')
-rw-r--r--src/operserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/operserv.c b/src/operserv.c
index 20ff4f28e..50e3e078c 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -1594,7 +1594,7 @@ void resetDefCon(int level)
snprintf(strLevel, 4, "%d", level);
if (DefConLevel != level) {
if ((DefContimer)
- && (time(NULL) - DefContimer >= dotime(DefConTimeOut))) {
+ && (time(NULL) - DefContimer >= DefConTimeOut)) {
DefConLevel = level;
send_event(EVENT_DEFCON_LEVEL, 1, strLevel);
alog("Defcon level timeout, returning to lvl %d", level);