]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cypherpunks.ru/nncp/cmd/nncp-cfgnew/main.go
Raise copyright years
[nncp.git] / src / cypherpunks.ru / nncp / cmd / nncp-cfgnew / main.go
index 2601d46532fc8e0a82ebf8894568116d7d348328..274cdad06377e0f672569ecdaaabcf602cfce847 100644 (file)
@@ -1,6 +1,6 @@
 /*
 NNCP -- Node to Node copy, utilities for store-and-forward data exchange
-Copyright (C) 2016-2017 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2016-2019 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -70,7 +70,9 @@ func main() {
                                ExchPub:  nncp.ToBase32(nodeOur.ExchPub[:]),
                                SignPub:  nncp.ToBase32(nodeOur.SignPub[:]),
                                NoisePub: &noisePub,
-                               Sendmail: []string{nncp.DefaultSendmailPath},
+                               Exec: map[string][]string{
+                                       "sendmail": []string{nncp.DefaultSendmailPath},
+                               },
                        },
                },
                Spool: nncp.DefaultSpoolPath,