]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
rbot should default to the debug level used by ruby
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 7 Nov 2007 19:00:38 +0000 (19:00 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 7 Nov 2007 19:00:38 +0000 (19:00 +0000)
bin/rbot

index 98bc333938d2bb9168b88487b095f7b1e44c6358..b06c5745b066403f49346c3b5031289d8dfb9f1f 100755 (executable)
--- a/bin/rbot
+++ b/bin/rbot
@@ -91,7 +91,7 @@ opts = GetoptLong.new(
   ["--version", "-v", GetoptLong::NO_ARGUMENT]
 )
 
-$debug = false
+$debug = $DEBUG
 $daemonize = false
 
 opts.each {|opt, arg|