set addr in admin

This commit is contained in:
shoopea
2023-07-31 18:19:28 +02:00
parent ca3d8177bd
commit f6fdd83a23
3 changed files with 9 additions and 10 deletions

View File

@@ -4,7 +4,6 @@ import (
"flag"
"fmt"
"os"
"time"
log "github.com/sirupsen/logrus"
)
@@ -41,10 +40,6 @@ func main() {
}
log.SetReportCaller(true)
email = new(Email)
email.startTime = time.Now()
email.items = make([]string, 0)
if err := cfg.LoadFile(*cfgFile); err != nil {
log.Printf("Cannot load config (%s)", err)
os.Exit(1)