summaryrefslogtreecommitdiff
path: root/bin/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rbot')
-rwxr-xr-xbin/rbot2
1 files changed, 1 insertions, 1 deletions
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|