From 39d0ceab383515ab94def26cf3c1a6797c52cf3e Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 25 Apr 2007 19:17:24 +0000 Subject: bin/rbot: only set when --loglevel is provided on the command line --- bin/rbot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/rbot b/bin/rbot index 0a8fb7e9..744944e0 100755 --- a/bin/rbot +++ b/bin/rbot @@ -81,7 +81,7 @@ opts.each {|opt, arg| $opts[opt.sub(/^-+/, "")] = arg } -$cl_loglevel = $opts["loglevel"].to_i +$cl_loglevel = $opts["loglevel"].to_i if $opts["loglevel"] if ($opts["trace"]) set_trace_func proc { |event, file, line, id, binding, classname| -- cgit v1.2.3