Skip to content
Browse files

Merge pull request #253 from kylev/patch-1

As hubot is frequently used in business settings, turn safe search on
  • Loading branch information...
2 parents 8103dc9 + 021673e commit 7df6a3e74ec1285c63e64a540bb93f8c6f93ab31 @atmos atmos committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/google-images.coffee
View
2 src/scripts/google-images.coffee
@@ -29,7 +29,7 @@ module.exports = (robot) ->
imageMe = (msg, query, cb) ->
msg.http('http://ajax.googleapis.com/ajax/services/search/images')
- .query(v: "1.0", rsz: '8', q: query)
+ .query(v: "1.0", rsz: '8', q: query, safe: 'active')
.get() (err, res, body) ->
images = JSON.parse(body)
images = images.responseData.results

0 comments on commit 7df6a3e

Please sign in to comment.
Something went wrong with that request. Please try again.