2
0
forked from drew/smtprelay

config: Comments in ini file traditionally start with ';' (#79)

This commit is contained in:
Bernhard Froehlich
2022-08-02 10:48:35 +00:00
parent dffe0bb5bb
commit e5f27e02e5

View File

@@ -236,7 +236,7 @@ func IniParser(r io.Reader, set func(name, value string) error) error {
continue // skip empties
}
if line[0] == '#' {
if line[0] == '#' || line[0] == ';' {
continue // skip comments
}