]> git.donarmstrong.com Git - infobot.git/commitdiff
Typos galore for logCycle, should be fixed
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Mon, 4 Dec 2000 13:31:56 +0000 (13:31 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Mon, 4 Dec 2000 13:31:56 +0000 (13:31 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@182 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/Schedulers.pl

index ccc30c540df2ad386a779d75578f170d9b48d9b8..4b6987ba778401310d216b8d878d947451ea34a4 100644 (file)
@@ -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