diff options
author | =Corey Hulen <corey@hulen.com> | 2015-10-05 17:34:13 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-10-05 17:34:13 -0700 |
commit | 9b06366780ce13619ca785dad72286b83bd94961 (patch) | |
tree | 19f3f526e6cd4b990adf0e8e76e3e06b97c070ea /mattermost.go | |
parent | e26b77faf10c6ca18f12df573d36d4e4676ffcf9 (diff) | |
download | chat-9b06366780ce13619ca785dad72286b83bd94961.tar.gz chat-9b06366780ce13619ca785dad72286b83bd94961.tar.bz2 chat-9b06366780ce13619ca785dad72286b83bd94961.zip |
PLT-518 check for security bulletins
Diffstat (limited to 'mattermost.go')
-rw-r--r-- | mattermost.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mattermost.go b/mattermost.go index 0d8aebc76..7e4ee1ed9 100644 --- a/mattermost.go +++ b/mattermost.go @@ -80,7 +80,7 @@ func main() { func securityAndDiagnosticsJob() { go func() { for { - if utils.Cfg.PrivacySettings.EnableSecurityFixAlert { //&& model.IsOfficalBuild() { + if utils.Cfg.PrivacySettings.EnableSecurityFixAlert && model.IsOfficalBuild() { if result := <-api.Srv.Store.System().Get(); result.Err == nil { props := result.Data.(model.StringMap) lastSecurityTime, _ := strconv.ParseInt(props["LastSecurityTime"], 10, 0) |