From bd3141462ed17a1731c9d794bf238af750a6369d Mon Sep 17 00:00:00 2001 From: kanoi Date: Sat, 20 Feb 2016 23:44:39 +1100 Subject: [PATCH] ckdb - ignore checking the web Anon username for ovents - just check the IP - 2 --- src/ckdb_dbio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ckdb_dbio.c b/src/ckdb_dbio.c index 69627653..a6959ada 100644 --- a/src/ckdb_dbio.c +++ b/src/ckdb_dbio.c @@ -6611,7 +6611,7 @@ int _ovents_add(int id, char *by, char *inet, tv_t *cd, K_TREE *trf_root) min = TV_TO_MIN(&(ovents.createdate)); K_WLOCK(ovents_free); - if (u_key[0]) { + if (u_key[0] && strcmp(u_key, ANON_USER) != 0) { o_item = find_ovents(u_key, hour, NULL); if (o_item) { DATA_OVENTS(d_ovents, o_item);