lib/chatterbot/client.rb in chatterbot-0.2.1 vs lib/chatterbot/client.rb in chatterbot-0.2.2
- old
+ new
@@ -9,9 +9,10 @@
#
# default options when querying twitter -- this could be extended
# with a language, etc.
def default_opts
+ return {} if since_id <= 0
{
:since_id => since_id
}
end