lib/bitbot/plugin/common.rb in tipjar-0.1.193 vs lib/bitbot/plugin/common.rb in tipjar-0.1.194

- old
+ new

@@ -51,10 +51,10 @@ # Returns the User for the given username. If you want to get # a User based on nick, User(nick) is easier. # def user_with_username(username) bot.user_list.each do |user| - return user if user.user == username + return user if user.nick == username end nil end #