diff --git a/code/modules/admin/verbs/getlogs.dm b/code/modules/admin/verbs/getlogs.dm
index 83bde628fd0..7a79ba44187 100644
--- a/code/modules/admin/verbs/getlogs.dm
+++ b/code/modules/admin/verbs/getlogs.dm
@@ -85,11 +85,10 @@
set name = "Show Server Log"
set desc = "Shows today's server log."
- var/path = "data/logs/[time2text(world.realtime,"YYYY/MM-Month/DD-Day")].log"
- if( fexists(path) )
- src << ftp( file(path) )
+ if(fexists("[diary]"))
+ src << ftp(file("[diary]"))
else
- src << "Error: view_txt_log(): File not found/Invalid path([path])."
+ src << "Server log not found, try using .getserverlog."
return
feedback_add_details("admin_verb","VTL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return
@@ -100,11 +99,10 @@
set name = "Show Server Attack Log"
set desc = "Shows today's server attack log."
- var/path = "data/logs/[time2text(world.realtime,"YYYY/MM-Month/DD-Day")] Attack.log"
- if( fexists(path) )
- src << ftp( file(path) )
+ if(fexists("[diaryofmeanpeople]"))
+ src << ftp(file("[diaryofmeanpeople]"))
else
- src << "Error: view_atk_log(): File not found/Invalid path([path])."
+ src << "Server attack log not found, try using .getserverlog."
return
feedback_add_details("admin_verb","SSAL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return