Removed negative point restriction for givepoints command.

This commit is contained in:
Yizhe Shen 2015-03-10 22:22:46 -04:00
parent 00b1c43842
commit 73693ecfcd
1 changed files with 2 additions and 2 deletions

View File

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