From: dms Date: Sun, 6 May 2001 14:22:34 +0000 (+0000) Subject: - use ChanConfList instead of IsChanConf for newsFlush - fixes bug! X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=144afaabd10e0f2c243ec51799455fd0bbba1e37;p=infobot.git - use ChanConfList instead of IsChanConf for newsFlush - fixes bug! git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@478 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/IRC/Schedulers.pl b/blootbot/src/IRC/Schedulers.pl index 8226138..4bc1ae0 100644 --- a/blootbot/src/IRC/Schedulers.pl +++ b/blootbot/src/IRC/Schedulers.pl @@ -281,9 +281,9 @@ sub newsFlush { return if ($_[0] eq "2"); # defer. } - if (&IsChanConf("news") > 0) { + if (&ChanConfList("news")) { } else { - &DEBUG("newsFlush: news disabled?"); + &DEBUG("newsFlush: news disabled? (chan => $chan)"); return; }