This commit is contained in:
Simone Margaritelli 2019-09-28 17:43:31 +02:00
commit 8c424765f6
2 changed files with 3 additions and 1 deletions

View file

@ -2,7 +2,7 @@ package core
const (
Name = "bettercap"
Version = "2.24.1"
Version = "2.25"
Author = "Simone 'evilsocket' Margaritelli"
Website = "https://bettercap.org/"
)

View file

@ -29,6 +29,8 @@ func NewMeta() *Meta {
}
func (m *Meta) MarshalJSON() ([]byte, error) {
m.Lock()
defer m.Unlock()
return json.Marshal(metaJSON{Values: m.m})
}