aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/coins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/coins.py b/modules/coins.py
index 603f934a..6da50fa4 100644
--- a/modules/coins.py
+++ b/modules/coins.py
@@ -319,7 +319,7 @@ class Module(ModuleManager.BaseModule):
:usage: heads|tails <coin amount>
"""
wallet_in, wallet_out = self._default_wallets(event["user"])
- if len(event["args_split"] > 2):
+ if len(event["args_split"]) > 2:
wallet_in, wallet_out = self._parse_wallets(event["user"],
event["args_split"][2])