Skip to content

Commit

Permalink
jabberbot: xmpp4r 0.4 compatibilty
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Jul 16, 2009
1 parent 1284fbd commit 7af8f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jabberbot.rb
Expand Up @@ -285,7 +285,7 @@ def duration_to_s(duration)
end
elsif iq.type == :get or iq.type == :get
answer.type = :error
answer.add Jabber::Error.new('feature-not-implemented', 'The requested feature hasn\'t been implemented.')
answer.add Jabber::ErrorResponse.new('feature-not-implemented', 'The requested feature hasn\'t been implemented.')
else
answer = ' '
end
Expand Down

0 comments on commit 7af8f9e

Please sign in to comment.