From c1330112f2775d3b580d4dfb5ffe93cd83eb7b29 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Thu, 15 May 2014 18:01:51 +0530 Subject: [PATCH] Make curl silent --- lib/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/user.rb b/lib/user.rb index 45d4a46..a6d59b6 100755 --- a/lib/user.rb +++ b/lib/user.rb @@ -23,7 +23,7 @@ def self.interpret(command) if command.match(/^what\'?s?(\s+is)?(\s+my)?(\s+ip)?\s?(address)?\??$/i) responses << { - :command => "curl ifconfig.me", + :command => "curl -sL ifconfig.me", :explanation => "Gets your external ip address." } end