]> git.donarmstrong.com Git - infobot.git/blobdiff - scripts/findparam.pl
IsChanConfOrWarn can be both
[infobot.git] / scripts / findparam.pl
index 077cac5d5f8afd0dd53909a972504be3faee2cbe..9853e278a12b1ed6b341812109d52add9747ef6f 100644 (file)
@@ -21,7 +21,7 @@ foreach (`find -name "*.pl"`) {
 
        if (/IsChanConfOrWarn\(['"](\S+?)['"]\)/) {
            print "File: $file: IsChanConfOrWarn: $1\n" if $debug;
-           $param{$1}++;
+           $both{$1}++;
            next;
        }