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=b2a6aa5be4c2a743ca9c0678a64a0996156555ef;p=infobot.git - use ChanConfList instead of IsChanConf for newsFlush - fixes bug! git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@478 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/IRC/Schedulers.pl b/src/IRC/Schedulers.pl index 8226138..4bc1ae0 100644 --- a/src/IRC/Schedulers.pl +++ b/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; }