From 912c693fcd758fb29a62d125dea34110892f6caa Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 13 Oct 2018 01:16:18 +0100 Subject: !lotterybuy should require authentication because it uses coins --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/coins.py b/modules/coins.py index ccbc193a..904947f8 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -441,7 +441,7 @@ class Module(ModuleManager.BaseModule): str(coins)) event["timer"].redo() - @utils.hook("received.command.lotterybuy") + @utils.hook("received.command.lotterybuy", authenticated=True) def lottery_buy(self, event): """ :help: By ticket(s) for the lottery -- cgit v1.3.1-10-gc9f91