minimum rain amount

This commit is contained in:
unek
2014-05-05 15:32:23 +02:00
parent f72bd66f10
commit f6dedbac65
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -196,8 +196,8 @@ client.addListener('message', function(from, channel, message) {
max = Math.floor(max);
}
if(amount < settings.coin.min_tip) {
client.say(channel, settings.messages.tip_too_small.expand({from: from, to: to, amount: amount}));
if(amount < settings.coin.min_rain) {
client.say(channel, settings.messages.rain_too_small.expand({from: from, amount: amount}));
return;
}