Skip to content

Commit

Permalink
Changed to not apply erb when update.
Browse files Browse the repository at this point in the history
  • Loading branch information
jugyo committed Apr 10, 2009
1 parent 65816b6 commit cf201d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/plugins/standard_plugins.rb
Expand Up @@ -13,8 +13,7 @@ module Termtter::Client
:name => :update, :aliases => [:u],
:exec_proc => lambda {|arg|
unless arg.empty?
text = ERB.new(arg).result(binding).gsub(/\n/, ' ')
result = Termtter::API.twitter.update(text)
result = Termtter::API.twitter.update(arg)
puts "=> #{text}"
result
end
Expand Down

0 comments on commit cf201d3

Please sign in to comment.