aboutsummaryrefslogtreecommitdiffstats
path: root/lib/db.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/db.js')
-rw-r--r--lib/db.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/db.js b/lib/db.js
index 20fc2cd2..61859dcb 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -90,10 +90,7 @@ export let g = async (k) => {
};
export let s = (k, v) => {
- if (k === "user:null" || k === "user:undefined") {
- warn("###### NULL USER #######");
- console.trace();
- }
+ if (k === "user:null" || k === "user:undefined") fail("null user");
db.set(k, JSON.stringify(v));
};