summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-12-10 20:45:09 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-12-10 20:45:09 +1100
commitf4d35fd3410f84524a1d18ceca55a0b31f165c19 (patch)
treee78e2fb108e7287e70c4185ca417f404669e8a29
parentafd5f5b9cc75c0197acf1311b17f935e48917b0b (diff)
Erorr handling
-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));