diff --git a/bot.rb b/bot.rb index 4957ed8..b04b6b4 100644 --- a/bot.rb +++ b/bot.rb @@ -28,9 +28,9 @@ if CONFIG['lazyconfig'] == 'on' c.user = CONFIG['nickname'] - c.realname = "Chewbotcca IRC Bot - http://github.com/Chewsterchew/ChewbotccaIRC" + c.realname = 'Chewbotcca IRC Bot - http://github.com/Chewsterchew/ChewbotccaIRC' else - if CONFIG['username'] == nil + if CONFIG['username'].nil? puts 'You did not set a username! Set one or set lazyconfig to on.' exit end