lib/cinch/plugins/twitterstatus.rb in cinch-twitterstatus-1.1.1 vs lib/cinch/plugins/twitterstatus.rb in cinch-twitterstatus-1.1.2

- old
+ new

@@ -39,10 +39,10 @@ tweet_text(user, status) end def tweet_text(user, status) # Scrub the tweet for returns so we don't have multilined responses. - status.gsub!(/[\n]+/, ' ') if status.match(/\n/) + status = status.gsub(/[\n]+/, ' ') if status.match(/\n/) "@#{user} tweeted \"#{status}\"" end private