1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-03 08:28:31 +00:00

Oh yeah, the config option

This commit is contained in:
Kane York 2015-12-16 11:48:37 -08:00
parent 75cf4fbb46
commit 717acb3e40
2 changed files with 4 additions and 2 deletions

View file

@ -96,7 +96,9 @@ func SetupServerAndHandle(config *ConfigFile, serveMux *http.ServeMux) {
resp.Body.Close()
}
logstasher.Setup(Configuration.ESServer, Configuration.ESIndexPrefix, Configuration.ESHostName)
if Configuration.UseESLogStashing {
logstasher.Setup(Configuration.ESServer, Configuration.ESIndexPrefix, Configuration.ESHostName)
}
go authorizationJanitor()
go bunchCacheJanitor()