diff --git a/lib/twitter_ebooks/bot.rb b/lib/twitter_ebooks/bot.rb index 8e32bda..d8f7098 100644 --- a/lib/twitter_ebooks/bot.rb +++ b/lib/twitter_ebooks/bot.rb @@ -252,7 +252,7 @@ module Ebooks case ev when Array # Initial array sent on first connection log "Online!" - fire(:connect) + fire(:connect, ev) return when Twitter::DirectMessage return if ev.sender.id == @user.id # Don't reply to self