summaryrefslogtreecommitdiff
path: root/damnspam.py
diff options
context:
space:
mode:
Diffstat (limited to 'damnspam.py')
-rw-r--r--damnspam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/damnspam.py b/damnspam.py
index f808116..52bb67e 100644
--- a/damnspam.py
+++ b/damnspam.py
@@ -41,7 +41,7 @@ def onDammnspamCommand(sender, args):
global inputs
plugHeader(sender, "DamnSpam")
- if len(args) in range(2):
+ if len(args) in [1,2]:
if not str(sender.getGameMode()) == "CREATIVE":
msg(sender, "&cYou can only do this in Creative mode.")