diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-25 19:17:24 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-25 19:17:24 +0000 |
commit | 39d0ceab383515ab94def26cf3c1a6797c52cf3e (patch) | |
tree | 343389d166f1430e10d5e55b325edbcf85b5804d | |
parent | 78c6c6ed26f019aec6f3ac9f3e01539a68016537 (diff) |
bin/rbot: only set when --loglevel is provided on the command line
-rwxr-xr-x | bin/rbot | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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| |