diff options
| author | 2025-03-16 13:29:44 +0000 | |
|---|---|---|
| committer | 2025-03-16 13:29:44 +0000 | |
| commit | 939901970a9b503393ef044d839f4438139bbcb2 (patch) | |
| tree | d8e0455b9a5f7050e892b5b766899ca5117c8509 | |
| parent | Update win32memory to comply with the InspIRCd coding standards. (diff) | |
Skip lines which are empty in mkheaders.
| -rwxr-xr-x | tools/mkheaders | 2 |
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; |
