Make sure we don't try to rain on nobody if the no-rain list is thick

This commit is contained in:
moneromooo 2014-12-22 20:50:47 +00:00
parent 55981cf192
commit 9464decc86
1 changed files with 3 additions and 0 deletions

View File

@ -308,6 +308,9 @@ def Rain(nick,data):
everyone = True
else:
everyone = False
if users == 0:
SendTo(sendto, "Nobody eligible for rain")
return
if units < users:
SendTo(sendto, "This would mean not even a tacoshi per nick")
return