summaryrefslogtreecommitdiff
path: root/includes/reply_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/reply_inc.php')
-rw-r--r--includes/reply_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/reply_inc.php b/includes/reply_inc.php
index 588b59f..873d516 100644
--- a/includes/reply_inc.php
+++ b/includes/reply_inc.php
@@ -7,7 +7,7 @@ if ($_SERVER['REQUEST_METHOD'] != 'POST') {
die('This file cannot be called directly.');
}
-if (!isset($_SESSION['signed_in'])) {
+if (!Session::get()->is_signed_in()) {
die('You must be signed in to reply to a thread.');
}