From 447594bea233966dbdd9a23a8ab0391924d21692 Mon Sep 17 00:00:00 2001 From: dms Date: Tue, 17 Apr 2001 12:35:59 +0000 Subject: [PATCH] another round of useless changes git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@443 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/core.pl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/core.pl b/src/core.pl index ec7a013..7f9b4a2 100644 --- a/src/core.pl +++ b/src/core.pl @@ -45,7 +45,6 @@ $last{buflen} = 0; $last{say} = ""; $last{msg} = ""; $userHandle = "default"; -$msgtime = time(); $wingaterun = time(); $firsttime = 1; $utime_userfile = 0; @@ -54,7 +53,14 @@ $ucount_userfile = 0; $utime_chanfile = 0; $wtime_chanfile = 0; $ucount_chanfile = 0; - +### more variables... +$msgtime = 0; +$msgsize = 0; +$msgcount = 0; +$pubtime = 0; +$pubsize = 0; +$pubcount = 0; +### $bot_version = "blootbot cvs (20010214) -- $^O"; $noreply = "NOREPLY"; @@ -414,11 +420,13 @@ sub restart { ### crappy bug in Net::IRC? if (!$conn->connected and time - $msgtime > 900) { &status("reconnecting because of uncaught disconnect."); -## $irc->start; +### $irc->start; $conn->connect(); - return; +### return; } + &ircCheck(); # heh, evil! + &DCCBroadcast("-HUP called.","m"); &shutdown(); &loadConfig($bot_misc_dir."/blootbot.config"); -- 2.39.2