diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-11-03 20:41:18 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-11-03 20:41:18 +0100 |
commit | 42fd85ebe21fd0fd38fa02a1acb70402187053a8 (patch) | |
tree | 4f67e13500e1470d287e97ddaeb84fd0c350c150 /data | |
parent | 97ff6011d46be37ef8b1b3ebd7c7bfb8ad06b613 (diff) |
dice: restore + killed by ec5745fa7abd47b8ca12bd783b0759079dff9917
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/dice.rb | 2 |
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 |