X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fircd.c;fp=ircd%2Fircd.c;h=ad6ae5fb5f9699e4f7e521575496efa005eb9e8a;hp=91ab9b41f6d5de57e42b85ce7153e62713039b5f;hb=7cbbc6aa8338d394d79cb7048438dd45adf5c648;hpb=5fc729d47823a57c8e6e0e3b078522eccd120ca7 diff --git a/ircd/ircd.c b/ircd/ircd.c index 91ab9b4..ad6ae5f 100644 --- a/ircd/ircd.c +++ b/ircd/ircd.c @@ -343,8 +343,8 @@ static void check_pings(struct Event* ev) { /* We don't need to check zombies here */ if (IsNotConn(cptr)) { assert(IsUser(cptr)); - /* for now: reap after fixed time (15 minutes) */ - if ((CurrentTime - cli_user(cptr)->last) >= 900) { + /* for now: reap after fixed time (5 minutes) */ + if ((CurrentTime - cli_user(cptr)->last) >= 300) { SetFlag(cptr, FLAG_DEADSOCKET); /* this will be used as exit message */ ircd_strncpy(cli_info(cptr), "Ping timeout", REALLEN);