X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=blootbot%2Fsrc%2FDynaConfig.pl;h=ea94e5b0a566f44a0d2d72b7cc7b26e4f5ad56a4;hb=a98bcf5bb54a8890a03dee50b58a5de175db4d84;hp=e1cf464a1a68960ac691cf6b98e0002aa5639923;hpb=7e1335af465b38ea4190b3f1c3de4e4718448f6e;p=infobot.git diff --git a/blootbot/src/DynaConfig.pl b/blootbot/src/DynaConfig.pl index e1cf464..ea94e5b 100644 --- a/blootbot/src/DynaConfig.pl +++ b/blootbot/src/DynaConfig.pl @@ -271,10 +271,8 @@ sub readChanFile { $chanconf{$chan}{$1} = 1; } elsif (/^[\s\t]+\-(\S+)$/) { # bool, false. - &DEBUG("deprecated support of negative options.") unless ($cache{negative}); # although this is supported in run-time configuration. - $cache{negative} = 1; -# $chanconf{$chan}{$1} = 0; + $chanconf{$chan}{$1} = 0; } elsif (/^[\s\t]+(\S+)[\s\t]+(.*)$/) {# what = val. $chanconf{$chan}{$1} = $2; @@ -297,8 +295,6 @@ sub readChanFile { } } - delete $cache{negative}; - &status("CHANFILE: Loaded: ".(scalar(keys %chanconf)-1)." chans"); }