summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/dice.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/dice.rb b/data/rbot/plugins/dice.rb
index 5de1af8e..7e0662b1 100644
--- a/data/rbot/plugins/dice.rb
+++ b/data/rbot/plugins/dice.rb
@@ -86,7 +86,7 @@ class DicePlugin < Plugin
def privmsg(m)
# If either not given parameters or given incorrect parameters, return with
# the help message
- unless m.params && m.params =~ /^\d*d\d+(\s*[-]\s*(\d+|\d*d\d)+)*$/
+ unless m.params && m.params =~ /^\d*d\d+(\s*[+-]\s*(\d+|\d*d\d)+)*$/
m.reply "incorrect usage: " + help(m.plugin)
return
end