summaryrefslogtreecommitdiff
path: root/inc/mod.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/mod.php')
-rw-r--r--inc/mod.php3
1 files changed, 3 insertions, 0 deletions
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 <ul> element with a list of linked