Browse Source

ckdb - ignore checking the web Anon username for ovents - just check the IP - 2

master
kanoi 9 years ago
parent
commit
bd3141462e
  1. 2
      src/ckdb_dbio.c

2
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)); min = TV_TO_MIN(&(ovents.createdate));
K_WLOCK(ovents_free); 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); o_item = find_ovents(u_key, hour, NULL);
if (o_item) { if (o_item) {
DATA_OVENTS(d_ovents, o_item); DATA_OVENTS(d_ovents, o_item);

Loading…
Cancel
Save