allocate yp at launch to allow for enabling it later

This commit is contained in:
Gabe Kangas
2021-03-04 01:48:10 -08:00
parent 49bb899d51
commit a67e938875
2 changed files with 5 additions and 3 deletions

View File

@@ -63,9 +63,7 @@ func Start() error {
return err
}
if data.GetDirectoryEnabled() {
_yp = yp.NewYP(GetStatus)
}
_yp = yp.NewYP(GetStatus)
chat.Setup(ChatListenerImpl{})