Fixed clearpoints bug, dropped users showing up on website, added a score of 0

This commit is contained in:
rootcoma 2013-11-03 10:44:44 -08:00
parent 3d64326fa4
commit 50ef9dfd16
1 changed files with 1 additions and 1 deletions

View File

@ -143,6 +143,7 @@ class TriviaTime(callbacks.Plugin):
"""
self.storage.removeUserLogs(str.lower(username))
irc.reply('Removed all points from %s' % (username))
self.storage.insertUserLog(username, 0, 0)
clearpoints = wrap(clearpoints, ['admin','nick'])
def day(self, irc, msg, arg):
@ -1965,4 +1966,3 @@ class TriviaTime(callbacks.Plugin):
Class = TriviaTime
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: