From f4a3e69c1c6bcbb5e6adb72ce90de85719827480 Mon Sep 17 00:00:00 2001 From: groceryheist Date: Tue, 25 Jul 2017 11:31:06 -0500 Subject: [PATCH] fix important bug where wikis with both ancients and non-ancients don't record non-ancients --- R/wikia_admin.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/wikia_admin.R b/R/wikia_admin.R index 00e067c..10b7b1f 100644 --- a/R/wikia_admin.R +++ b/R/wikia_admin.R @@ -58,7 +58,7 @@ generate.admin.addrm <- function (logevents, current.admins) { } # if there are log events, and there are non-ancients, we parse them - if (dim(logevents)[1] & !any(logevents$ancient)) { + if (dim(logevents)[1] & !all(logevents$ancient)) { moderns.parsed <- do.call("rbind", lapply(1:dim(moderns)[1], parse.moderns, moderns)) } else {