From f167a304c897aec86ec04c0432332f4d6e9a4eb6 Mon Sep 17 00:00:00 2001 From: dms Date: Sat, 23 Aug 2003 09:22:04 +0000 Subject: [PATCH] - remove debug info; fix later since I now know how to deal with it as discovered with my other IRC (dccindex + crawler) project. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@821 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/IRC/Schedulers.pl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/IRC/Schedulers.pl b/src/IRC/Schedulers.pl index 08be4a9..5519373 100644 --- a/src/IRC/Schedulers.pl +++ b/src/IRC/Schedulers.pl @@ -685,11 +685,9 @@ sub ircCheck { &joinNextChan(); } - # debug. needed for testing - &TODO("conn->connected = " . scalar($conn->connected())); - &TODO("time()-msgtime = " . scalar(time() - $msgtime)); + # todo: fix on_disconnect() - if (!$conn->connected or time() - $msgtime > 3600) { + if (time() - $msgtime > 3600) { # todo: shouldn't we use cache{connect} somewhere? if (exists $cache{connect}) { &WARN("ircCheck: no msg for 3600 and disco'd! reconnecting!"); -- 2.39.2