allocate yp at launch to allow for enabling it later
This commit is contained in:
@@ -63,9 +63,7 @@ func Start() error {
|
||||
return err
|
||||
}
|
||||
|
||||
if data.GetDirectoryEnabled() {
|
||||
_yp = yp.NewYP(GetStatus)
|
||||
}
|
||||
_yp = yp.NewYP(GetStatus)
|
||||
|
||||
chat.Setup(ChatListenerImpl{})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user