[MIRROR] Fix a rogue proc declaration (#872)

* Fix a rogue proc declaration

* Update admin_investigate.dm
This commit is contained in:
CitadelStationBot
2017-05-18 05:16:57 -05:00
committed by Poojawa
parent 6ec7f5c3e0
commit 663fd8e671
2 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
atom/proc/investigate_log(message, subject)
/atom/proc/investigate_log(message, subject)
if(!message || !subject)
return
var/F = file("[GLOB.log_directory]/[subject].html")
@@ -18,4 +18,4 @@ atom/proc/investigate_log(message, subject)
if(!fexists(F))
to_chat(src, "<span class='danger'>No [subject] logfile was found.</span>")
return
src << browse(F,"window=investigate[subject];size=800x300")
src << browse(F,"window=investigate[subject];size=800x300")
@@ -0,0 +1,14 @@
diff a/code/modules/admin/admin_investigate.dm b/code/modules/admin/admin_investigate.dm (rejected hunks)
@@ -1,4 +1,4 @@
-atom/proc/investigate_log(message, subject)
+/atom/proc/investigate_log(message, subject)
if(!message || !subject)
return
var/F = file("[GLOB.log_directory]/[subject].html")
@@ -18,4 +18,4 @@ atom/proc/investigate_log(message, subject)
if(!fexists(F))
to_chat(src, "<span class='danger'>No [subject] logfile was found.</span>")
return
- src << browse(F,"window=investigate[subject];size=800x300")
\ No newline at end of file
+ src << browse(F,"window=investigate[subject];size=800x300")