diff --git a/code/modules/DMAPI/yawnDMAPI.dm b/code/modules/DMAPI/yawnDMAPI.dm index 9518cf468b..87f7ecf331 100644 --- a/code/modules/DMAPI/yawnDMAPI.dm +++ b/code/modules/DMAPI/yawnDMAPI.dm @@ -17,7 +17,6 @@ /datum/server_tools_command/readfax/Run(sender, params) var/list/all_params = splittext(params, " ") var/faxid = all_params[1] - var/savefile/F = new() - var/faxfile = file("[config.fax_export_dir]/fax_[faxid].html") - var/faxmsg = F.ImportText("/",faxfile) + var/faxmsg = "" + file("[config.fax_export_dir]/fax_[faxid].html") >> faxmsg return "FAX: ```[url_encode(faxmsg)]```" \ No newline at end of file