From: dms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Date: Mon, 4 Dec 2000 13:31:56 +0000 (+0000)
Subject: Typos galore for logCycle, should be fixed
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=582e407fa0500d7d9a06e0a135cacd022097fc9c;p=infobot.git

Typos galore for logCycle, should be fixed


git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@182 c11ca15a-4712-0410-83d8-924469b57eb5
---

diff --git a/blootbot/src/IRC/Schedulers.pl b/blootbot/src/IRC/Schedulers.pl
index ccc30c5..4b6987b 100644
--- a/blootbot/src/IRC/Schedulers.pl
+++ b/blootbot/src/IRC/Schedulers.pl
@@ -16,7 +16,7 @@ sub setupSchedulers {
     &uptimeCycle(1)	if (&IsParam("uptime"));
     &randomQuote(1)	if (&IsParam("randomQuote"));
     &randomFactoid(1)	if (&IsParam("randomFactoid"));
-    &logCycle(1)	if ($loggingstatus and &IsParam("logFile") and &IsParam("maxLogSize"));
+    &logCycle(1)	if (defined fileno LOG and &IsParam("logfile") and &IsParam("maxLogSize"));
     &limitCheck(1)	if (&IsParam("limitcheck"));
     &netsplitCheck(1);	# mandatory
     &floodCycle(1);	# mandatory