lib/chatterbot/config.rb in chatterbot-0.2.1 vs lib/chatterbot/config.rb in chatterbot-0.2.2

- old
+ new

@@ -42,11 +42,11 @@ end # # Should we run any config updates? def update_config? - config[:dry_run] || true + config.has_key?(:dry_run) ? ! config[:dry_run] : true end # # should we write to a log file? def logging? @@ -67,10 +67,10 @@ end # # return the ID of the most recent tweet pulled up in searches def since_id - config[:since_id] || 1 + config[:since_id] || 0 end # # write out our config file def update_config