From 73693ecfcdf100a65bd375948a90b0a69552c1bf Mon Sep 17 00:00:00 2001 From: Yizhe Shen Date: Tue, 10 Mar 2015 22:22:46 -0400 Subject: [PATCH] Removed negative point restriction for givepoints command. --- plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.py b/plugin.py index a6c01c4..0e8daa1 100644 --- a/plugin.py +++ b/plugin.py @@ -3309,8 +3309,8 @@ class TriviaTime(callbacks.Plugin): if self.isTriviaAdmin(hostmask, channel) == False: irc.reply('You must be a TriviaAdmin in {0} to use this command.'.format(channel)) return - elif points < 1: - irc.error("You cannot give less than 1 point.") + elif points == 0: + irc.error("You cannot give 0 points.") return username = self.getUsername(username, username)