can no longer $give 0 flowers

This commit is contained in:
Kwoth 2016-07-17 21:29:58 +02:00
parent 1908ed827f
commit b05b2b8015

View File

@ -68,7 +68,7 @@ namespace NadekoBot.Modules.Gambling
{
var amountStr = e.GetArg("amount")?.Trim();
long amount;
if (!long.TryParse(amountStr, out amount) || amount < 0)
if (!long.TryParse(amountStr, out amount) || amount <= 0)
return;
var mentionedUser = e.Message.MentionedUsers.FirstOrDefault(u =>