aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/coins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/coins.py b/modules/coins.py
index c5c11d99..fbdceb77 100644
--- a/modules/coins.py
+++ b/modules/coins.py
@@ -41,13 +41,13 @@ class Module(object):
self.redeem_coins, help="Redeem free coins")
events.on("received.command.flip").hook(self.flip,
help="Bet coins on a coin flip", usage=
- "heads|tails <coin amount>", min_args=2, protect_registered=True)
+ "heads|tails <coin amount>", min_args=2, authenticated=True)
events.on("received.command.sendcoins").hook(
self.send, min_args=2, help="Send coins to a user",
usage="<nickname> <amount>", authenticated=True)
events.on("received.command.roulette").hook(
self.roulette, min_args=2, help="Spin the roulette wheel",
- usage="<type> <amount>", protect_registered=True)
+ usage="<type> <amount>", authenticated=True)
now = datetime.datetime.now()
until_next_hour = 60-now.second