Move slack prefs under the ntopng.prefs key

This commit is contained in:
emanuele-f 2017-08-28 10:12:07 +02:00
parent a9b2a02dba
commit d67e1da455
3 changed files with 7 additions and 7 deletions

View file

@ -17,7 +17,7 @@ function sendSlackMessages()
return
end
webhook = ntop.getCache("ntopng.alerts.slack_webhook")
webhook = ntop.getCache("ntopng.prefs.alerts.slack_webhook")
if((webhook == nil) or (webhook == "")) then
return
end