]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/modules.pl
really support negative booleans and and return -1 for IsChanConf() when they are...
[infobot.git] / blootbot / src / modules.pl
index 961b90b7a3d8713ab8a6c020c085d8789f8061c2..bcbd3282a50665e8c1cfd1d80a21d5cc93b22557 100644 (file)
@@ -140,7 +140,7 @@ sub loadMyModulesNow {
            next;
        }
 
-       if (!&IsParam($_) and !&IsChanConf($_) and !&getChanConfList($_)) {
+       if (!&IsParam($_) and &IsChanConf($_) <= 0 and !&getChanConfList($_)) {
            &DEBUG("loadMyModuleNow: $_ (2) not loaded.");
            next;
        }