diff options
Diffstat (limited to 'bin/rbot')
-rwxr-xr-x | bin/rbot | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ end if(bot = Irc::Bot.new(ARGV.shift, :argv => orig_opts)) # setup logger based on command line arguments loglevel = $opts['loglevel'] ? $opts['loglevel'].to_i : nil - loglevel = $opts['debug'] ? 0 : nil + loglevel = $opts['debug'] ? 0 : loglevel if loglevel Irc::Bot::LoggerManager.instance.set_level(loglevel) end |