diff options
author | Wim <wim@42.be> | 2017-08-17 00:00:41 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-08-17 00:00:41 +0200 |
commit | ce1c5873ac0684dd032658cbe57a81df0dc3a4b5 (patch) | |
tree | 9358db13edb96842cff08d8aa0bad10f7479ec3f /matterclient/matterclient.go | |
parent | 85ff1995fd351b3e47ef759b37844023de138db8 (diff) | |
download | matterbridge-msglm-ce1c5873ac0684dd032658cbe57a81df0dc3a4b5.tar.gz matterbridge-msglm-ce1c5873ac0684dd032658cbe57a81df0dc3a4b5.tar.bz2 matterbridge-msglm-ce1c5873ac0684dd032658cbe57a81df0dc3a4b5.zip |
Make megacheck happy
Diffstat (limited to 'matterclient/matterclient.go')
-rw-r--r-- | matterclient/matterclient.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index c38d14c8..f2ae46b0 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -9,7 +9,6 @@ import ( "net/http" "net/http/cookiejar" "net/url" - "strconv" "strings" "sync" "time" @@ -831,14 +830,6 @@ func (m *MMClient) sendWSRequest(action string, data map[string]interface{}) err return nil } -func (m *MMClient) mmVersion() float64 { - v, _ := strconv.ParseFloat(string(m.ServerVersion[0:2])+"0"+string(m.ServerVersion[2]), 64) - if string(m.ServerVersion[4]) == "." { - v, _ = strconv.ParseFloat(m.ServerVersion[0:4], 64) - } - return v -} - func supportedVersion(version string) bool { if strings.HasPrefix(version, "3.8.0") || strings.HasPrefix(version, "3.9.0") || |