Typo in modules/coins.py, 'redcude' -> 'reduce'

This commit is contained in:
jesopo 2018-10-12 20:20:47 +01:00
parent 59bc75988b
commit 4fc0ee09b6

View file

@ -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)