summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mssola/user_agent/operating_systems.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mssola/user_agent/operating_systems.go')
-rw-r--r--vendor/github.com/mssola/user_agent/operating_systems.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/github.com/mssola/user_agent/operating_systems.go b/vendor/github.com/mssola/user_agent/operating_systems.go
index aebd8b394..ad4d56680 100644
--- a/vendor/github.com/mssola/user_agent/operating_systems.go
+++ b/vendor/github.com/mssola/user_agent/operating_systems.go
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2017 Miquel Sabaté Solà <mikisabate@gmail.com>
+// Copyright (C) 2012-2018 Miquel Sabaté Solà <mikisabate@gmail.com>
// This file is licensed under the MIT license.
// See the LICENSE file.
@@ -88,6 +88,8 @@ func webkit(p *UserAgent, comment []string) {
}
if len(comment) > 3 {
p.localization = comment[3]
+ } else if len(comment) == 3 {
+ _ = p.googleBot()
}
} else if len(comment) > 0 {
if len(comment) > 3 {