]> git.donarmstrong.com Git - infobot.git/commitdiff
- use ChanConfList instead of IsChanConf for newsFlush - fixes bug!
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 6 May 2001 14:22:34 +0000 (14:22 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 6 May 2001 14:22:34 +0000 (14:22 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@478 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/Schedulers.pl

index 82261388fb62409c89008ed57e782ded559cb89e..4bc1ae07a9aaa858a407de51236f989ceaf4cfc4 100644 (file)
@@ -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;
     }