Skip to content

Commit

Permalink
one more bugfix related to items - string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonp committed Oct 11, 2014
1 parent 90d4cc5 commit 9df0c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botspade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def respond_to_commands(message)
item_list = db_get_all_items
item_names = []
item_list.each do |item|
store_listing = item[1] + " (" + item[3] + "pts)"
store_listing = item[1].to_s + " (" + item[3].to_s + "pts)"
item_names << store_listing if item[6] == "true"
end
store_inventory = item_names.join(', ')
Expand Down

0 comments on commit 9df0c86

Please sign in to comment.