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