mirror of
https://github.com/MarekWojt/gertdns.git
synced 2025-12-15 21:09:51 +01:00
Code clean up + update modules
This commit is contained in:
@@ -14,7 +14,7 @@ func loadAuthFile(authFilePath string) (map[string]*userRaw, error) {
|
||||
if err != nil {
|
||||
color.Errorln(err.Error())
|
||||
color.Warnln("Creating new authentication file")
|
||||
return writeAuthFile(authFilePath, map[string]*userRaw{})
|
||||
return writeAuthFile(authFilePath, make(map[string]*userRaw))
|
||||
}
|
||||
|
||||
var users map[string]*userRaw
|
||||
|
||||
Reference in New Issue
Block a user