This commit is contained in:
Jörn-Michael Miehe 2019-02-14 19:23:49 +01:00
parent d30f92aa46
commit 24484a8ddb

View file

@ -57,10 +57,10 @@ FFTCGDB::close = ->
@db.close (err) ->
if err
logger.error "Error closing: '#{err.message}'"
resolve 'ok'
reject 'db'
else
logger.warn "Closed '#{@filename}'"
reject 'db'
resolve 'ok'
FFTCGDB::register = (login, password) ->
that = @