summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index 4d9bfb1c1..1d2d05f1a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -366,7 +366,6 @@ int main(int ac, char **av, char **envp)
time_t last_update; /* When did we last update the databases? */
time_t last_expire; /* When did we last expire nicks/channels? */
time_t last_check; /* When did we last check timeouts? */
- time_t last_DefCon; /* When was DefCon last checked? */
int i;
char *progname;
@@ -429,7 +428,6 @@ int main(int ac, char **av, char **envp)
last_update = time(NULL);
last_expire = time(NULL);
last_check = time(NULL);
- last_DefCon = time(NULL);
started = 1;
@@ -481,11 +479,6 @@ int main(int ac, char **av, char **envp)
last_update = t;
}
- if ((DefConTimeOut) && (t - last_DefCon >= DefConTimeOut)) {
- resetDefCon(5);
- last_DefCon = t;
- }
-
if (delayed_quit)
break;