Fixed a warning message

It was bugging me whenever I syntax checked. :<
This commit is contained in:
Stawberri 2015-01-15 03:10:15 -08:00
parent 158683fe06
commit 56f5bc3028

View file

@ -389,7 +389,7 @@ module Ebooks
return false
end
text = meta.reply_prefix + text unless text.match /@#{Regexp.escape ev.user.screen_name}/i
text = meta.reply_prefix + text unless text.match(/@#{Regexp.escape ev.user.screen_name}/i)
log "Replying to @#{ev.user.screen_name} with: #{text}"
tweet = twitter.update(text, opts.merge(in_reply_to_status_id: ev.id))
conversation(tweet).add(tweet)