diff --git a/inc/mod.php b/inc/mod.php
index d7920a78..9e55be86 100644
--- a/inc/mod.php
+++ b/inc/mod.php
@@ -116,6 +116,9 @@
else
$query->bindValue(':board', null, PDO::PARAM_NULL);
$query->execute() or error(db_error($query));
+
+ if($config['syslog'])
+ _syslog(LOG_INFO, '[mod/' . $mod['username'] . ']: ' . $action);
}
// Generates a
element with a list of linked
diff --git a/post.php b/post.php
index 1139b1ec..352cbdb8 100644
--- a/post.php
+++ b/post.php
@@ -598,7 +598,8 @@
}
- _syslog(LOG_INFO, 'New post: /' . $board['dir'] . $config['dir']['res'] . sprintf($config['file_page'], $OP?$id:$post['thread']) . (!$OP?'#'.$id:''));
+ if($config['syslog'])
+ _syslog(LOG_INFO, 'New post: /' . $board['dir'] . $config['dir']['res'] . sprintf($config['file_page'], $OP?$id:$post['thread']) . (!$OP?'#'.$id:''));
rebuildThemes('post');
header('Location: ' . $redirect, true, $config['redirect_http']);