diff options
author | Corey Hulen <corey@hulen.com> | 2017-08-16 11:28:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-16 11:28:48 -0700 |
commit | 4f85ed985d478ddf6692fa4f7d8d98d2a412d18c (patch) | |
tree | bb29221429328f77755c736d25bf4eb0c660268f /utils/config.go | |
parent | 29a7e182a6a9c2970b9c2c2d55062d17f33f084e (diff) | |
download | chat-4f85ed985d478ddf6692fa4f7d8d98d2a412d18c.tar.gz chat-4f85ed985d478ddf6692fa4f7d8d98d2a412d18c.tar.bz2 chat-4f85ed985d478ddf6692fa4f7d8d98d2a412d18c.zip |
Fixing licensing (#7226)
Diffstat (limited to 'utils/config.go')
-rw-r--r-- | utils/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/config.go b/utils/config.go index af88f816e..36474c921 100644 --- a/utils/config.go +++ b/utils/config.go @@ -655,7 +655,7 @@ func Desanitize(cfg *model.Config) { } func IsLeader() bool { - if IsLicensed && *Cfg.ClusterSettings.Enable && einterfaces.GetClusterInterface() != nil { + if IsLicensed() && *Cfg.ClusterSettings.Enable && einterfaces.GetClusterInterface() != nil { return einterfaces.GetClusterInterface().IsLeader() } else { return true |