Fixes Get-Current-Logs (#51376)

This commit is contained in:
AnturK
2020-06-03 21:35:03 +02:00
committed by GitHub
parent 0d5496cad9
commit 74ea449566
3 changed files with 14 additions and 5 deletions
+3 -3
View File
@@ -11,10 +11,10 @@
set desc = "View/retrieve logfiles for the current round."
set category = "Admin"
browseserverlogs("[GLOB.log_directory]/")
browseserverlogs(current=TRUE)
/client/proc/browseserverlogs(path = "data/logs/")
path = browse_files(path)
/client/proc/browseserverlogs(current=FALSE)
var/path = browse_files(current ? BROWSE_ROOT_CURRENT_LOGS : BROWSE_ROOT_ALL_LOGS)
if(!path)
return