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
This commit is contained in:
Yizhe Shen 2014-06-22 14:08:38 -04:00
parent 2b4f1f2caf
commit b00876be53
1 changed files with 1 additions and 1 deletions

View File

@ -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