summaryrefslogtreecommitdiff
path: root/includes/ban.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/ban.inc')
-rw-r--r--includes/ban.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/ban.inc b/includes/ban.inc
index 1d9fa095e..8a4045945 100644
--- a/includes/ban.inc
+++ b/includes/ban.inc
@@ -31,7 +31,7 @@ function ban_add($mask, $category, $reason, $message = "") {
$message = "Added new ban with mask `$mask'.<P>\n";
### Add log entry:
- watchdog(1, "added new ban `$mask' to category `". $index2type[$category] ."' with reason `$reason'.");
+ watchdog("message", "added new ban `$mask' to category `". $index2type[$category] ."' with reason `$reason'.");
}
}
@@ -45,7 +45,7 @@ function ban_delete($id) {
$result = db_query("DELETE FROM bans WHERE id = $id");
### Deleted log entry:
- watchdog(1, "removed ban `$ban->mask' from category `". $index2type[$ban->type] ."'.");
+ watchdog("message", "removed ban `$ban->mask' from category `". $index2type[$ban->type] ."'.");
}
}