summaryrefslogtreecommitdiff
path: root/roll.php
diff options
context:
space:
mode:
Diffstat (limited to 'roll.php')
-rw-r--r--roll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roll.php b/roll.php
index 0d8aa25..d888f64 100644
--- a/roll.php
+++ b/roll.php
@@ -6,7 +6,7 @@ $string = $argv[1];
preg_match('/([0-9]*)d([0-9]+)(([+-][0-9]+))?/', $string, $matches);
$dice = (int)$matches[1];
$die_size = (int)$matches[2];
-$mod = (int)$matches[3];
+@$mod = (int)$matches[3];
if ($dice<1) $dice = 1;