Permalink
Browse files

Renamed 9gag GIF env variable from NINEGAG_NO_GIFS to HUBOT_9GAG_NO_G…

…IFS.
  • Loading branch information...
1 parent 78d61ac commit bbafcc7c8629a71fc3cf9eeb84b083377e1201d0 @dedeibel committed Feb 4, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/scripts/9gag.coffee
View
@@ -6,7 +6,7 @@
# "soupselect": "0.2.0"
#
# Configuration:
-# NINEGAG_NO_GIFS (optional; default is "false")
+# HUBOT_9GAG_NO_GIFS (optional; default is "false")
#
# Commands:
# hubot 9gag me - Returns a random meme image
@@ -40,7 +40,7 @@ send_meme = (message, location, response_handler)->
location = response.headers['location']
return send_meme( message, location, response_handler )
- no_gifs = process.env.NINEGAG_NO_GIFS
+ no_gifs = process.env.HUBOT_9GAG_NO_GIFS
selectors = ["a img.badge-item-img"]
if no_gifs != '0' && no_gifs != 't' && no_gifs != 'true'
selectors.unshift("div.badge-animated-container-animated img")

0 comments on commit bbafcc7

Please sign in to comment.