]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - bin/rbot
just some tiny tweaks. giuseppe! you have been busy! :)
[user/henk/code/ruby/rbot.git] / bin / rbot
index 2f3ec9a1fc13959f091744bc59cf2f3a1a7be5b9..45dba848256adbd3359d623a3c4080e512815658 100755 (executable)
--- a/bin/rbot
+++ b/bin/rbot
@@ -52,7 +52,7 @@ opts.each {|opt, arg|
   $opts[opt.sub(/^-+/, "")] = arg
 }
 
-$cl_loglevel = $opts["loglevel"]
+$cl_loglevel = $opts["loglevel"].to_i
 
 if ($opts["trace"])
   set_trace_func proc { |event, file, line, id, binding, classname|