18
0

fix important bug where wikis with both ancients and non-ancients don't record non-ancients

This commit is contained in:
2017-07-25 11:31:06 -05:00
parent 7d05f4ae70
commit f4a3e69c1c

View File

@@ -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 {