]> git.donarmstrong.com Git - infobot.git/blobdiff - scripts/findparam.pl
s/hasParam/IsChanConfOrWarn/
[infobot.git] / scripts / findparam.pl
index d079e201550a613a2ab56fe0ef420c7dbdb5c37c..077cac5d5f8afd0dd53909a972504be3faee2cbe 100644 (file)
@@ -19,8 +19,8 @@ foreach (`find -name "*.pl"`) {
            next;
        }
 
-       if (/hasParam\(['"](\S+?)['"]\)/) {
-           print "File: $file: hasParam: $1\n" if $debug;
+       if (/IsChanConfOrWarn\(['"](\S+?)['"]\)/) {
+           print "File: $file: IsChanConfOrWarn: $1\n" if $debug;
            $param{$1}++;
            next;
        }
@@ -43,7 +43,7 @@ foreach (`find -name "*.pl"`) {
            next;
        }
 
-       # command hooks => hasParam => both.
+       # command hooks => IsChanConfOrWarn => both.
        # note: this does not support multiple lines.
        if (/\'Identifier\'[\s\t]=>[\s\t]+\'(\S+?)\'/) {
            print "File: $file: command hook: $1\n" if $debug;