Skip to content

Commit

Permalink
Merge pull request #253 from kylev/patch-1
Browse files Browse the repository at this point in the history
As hubot is frequently used in business settings, turn safe search on
  • Loading branch information
atmos committed Mar 5, 2012
2 parents 65ce16a + dd1d2bf commit a66563a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/google-images.coffee
Expand Up @@ -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
Expand Down

0 comments on commit a66563a

Please sign in to comment.