aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-16 13:29:44 +0000
committerGravatar Sadie Powell2025-03-16 13:29:44 +0000
commit939901970a9b503393ef044d839f4438139bbcb2 (patch)
treed8e0455b9a5f7050e892b5b766899ca5117c8509 /tools
parentUpdate win32memory to comply with the InspIRCd coding standards. (diff)
Skip lines which are empty in mkheaders.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mkheaders2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkheaders b/tools/mkheaders
index d244f5cbc..9b6b6a75a 100755
--- a/tools/mkheaders
+++ b/tools/mkheaders
@@ -90,7 +90,7 @@ for my $path (@paths) {
$indent = $1;
} else {
push @lines, $line;
- push @linenums, $linenum;
+ push(@linenums, $linenum) if $line =~ /\S/;
}
}
close $fh;