From b00876be534a68416da28ece3afc818b2f4ca54a Mon Sep 17 00:00:00 2001 From: Yizhe Shen Date: Sun, 22 Jun 2014 14:08:38 -0400 Subject: [PATCH] Small fix for TriviaTime.givepoints(). - Reverted functionality back to original state after breaking with the introduction of TriviaTime.getUsername() - Still does not properly convert nick into username --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 3aa38b4..8df1d68 100644 --- a/plugin.py +++ b/plugin.py @@ -595,7 +595,7 @@ class TriviaTime(callbacks.Plugin): irc.error("You cannot give less than 1 point.") return - username = self.getUsername(msg.nick, msg.prefix) + username = self.getUsername(username, username) day=None month=None year=None