streakbreak works now :)

#262
This commit is contained in:
Tanner 2015-01-16 23:21:32 -06:00
parent b4d8b4edf0
commit c737e50698
1 changed files with 1 additions and 1 deletions

View File

@ -1660,7 +1660,7 @@ class TriviaTime(callbacks.Plugin):
#streakbreak
if self.streak > minStreak:
streakBonus = pointsAdded * .05
self.sendMessage('%d broke %d\'s streak!' % (game.lastWinner, username) , prefixNick=False)
self.sendMessage('%d broke %d\'s streak!' % (username, self.lastWinner,) , prefixNick=False)
self.lastWinner = ircutils.toLower(username)
self.streak = 1
else: