Fixed incorrect bool declaration

This commit is contained in:
Ryan O'Hara-Reid
2017-03-14 16:07:05 +11:00
parent d4bcbdf230
commit a7e4aad632

View File

@@ -144,7 +144,7 @@ func (a *ANX) SetAPIKeys(apiKey, apiSecret string) {
if err != nil {
log.Printf("%s unable to decode secret key. Authenticated API support disabled.", a.GetName())
a.AuthenticatedAPISupport = true
a.AuthenticatedAPISupport = false
return
}