fix bug in IsInitialized()
This commit is contained in:
parent
e5bfd05e71
commit
7cd0639708
@ -4,5 +4,5 @@ func (app *Application) IsInitialized() bool {
|
|||||||
app.mu.Lock()
|
app.mu.Lock()
|
||||||
defer app.mu.Unlock()
|
defer app.mu.Unlock()
|
||||||
|
|
||||||
return len(app.users) > 1
|
return len(app.users) > 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user