Skip to content

Commit

Permalink
safe search
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Dec 15, 2010
1 parent 5390295 commit 1cf0880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conavore.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ hear /wiki me (.*)/i, (message) ->

hear /image me (.*)/i, (message) ->
phrase = escape(message.match[1])
url = "http://ajax.googleapis.com/ajax/services/search/images?v=1.0&rsz=8&q=#{phrase}"
url = "http://ajax.googleapis.com/ajax/services/search/images?v=1.0&rsz=8&safe=active&q=#{phrase}"

get url, (body) ->
try
Expand Down

0 comments on commit 1cf0880

Please sign in to comment.