Typo in modules/coins.py, 'redcude' -> 'reduce'
This commit is contained in:
parent
59bc75988b
commit
4fc0ee09b6
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
server.del_setting("lottery")
|
server.del_setting("lottery")
|
||||||
|
|
||||||
users = [(nickname,)*value for nickname, value in lottery.items()]
|
users = [(nickname,)*value for nickname, value in lottery.items()]
|
||||||
users = functools.redcude(lambda x, y: x+y, users)
|
users = functools.redude(lambda x, y: x+y, users)
|
||||||
winner = random.choice(users)
|
winner = random.choice(users)
|
||||||
|
|
||||||
user = server.get_user(winner)
|
user = server.get_user(winner)
|
||||||
|
|
Loading…
Reference in a new issue