summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 62200545..a00d5ac8 100644
--- a/mod.php
+++ b/mod.php
@@ -136,7 +136,8 @@
$boardName = $matches[1];
// Open board
- openBoard($boardName);
+ if(!openBoard($boardName))
+ error(ERROR_NOBOARD);
// echo Element('index.html', index(1));