Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed the response method to fit the previous model

  • Loading branch information...
commit 6fa31808da0ec91fcf771ed7e50badc7d14753da 1 parent fce4105
@netfeed authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/cinch/plugins/title.rb
View
5 lib/cinch/plugins/title.rb
@@ -30,8 +30,9 @@ def execute m, message
puts "URL doesn't exist or can't be accessed."
end
- def response m, uri
- uri
+ def response m, title
+ suffix = m.user.nick[-1] == 's' ? "'" : "'s"
+ "#{m.user.nick}#{suffix} URL: #{title}"
end
def response_invalid m, uri
Please sign in to comment.
Something went wrong with that request. Please try again.