From 50ef9dfd165d91fb2c8df75ce570ddd84965ac8d Mon Sep 17 00:00:00 2001 From: rootcoma Date: Sun, 3 Nov 2013 10:44:44 -0800 Subject: [PATCH] Fixed clearpoints bug, dropped users showing up on website, added a score of 0 --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index b7b494f..8ff0bd7 100644 --- a/plugin.py +++ b/plugin.py @@ -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: -