mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Make sure we don't try to rain on nobody if the no-rain list is thick
This commit is contained in:
parent
55981cf192
commit
9464decc86
1 changed files with 3 additions and 0 deletions
|
@ -308,6 +308,9 @@ def Rain(nick,data):
|
||||||
everyone = True
|
everyone = True
|
||||||
else:
|
else:
|
||||||
everyone = False
|
everyone = False
|
||||||
|
if users == 0:
|
||||||
|
SendTo(sendto, "Nobody eligible for rain")
|
||||||
|
return
|
||||||
if units < users:
|
if units < users:
|
||||||
SendTo(sendto, "This would mean not even a tacoshi per nick")
|
SendTo(sendto, "This would mean not even a tacoshi per nick")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue