mod_scansion_record: Fix missed rename of file handle
authorKim Alvefur <zash@zash.se>
Sat, 22 Sep 2018 14:29:39 +0200
changeset 9365 31317e8edbbc
parent 9364 3620f7b3517b
child 9366 c4ecaaf66e76
mod_scansion_record: Fix missed rename of file handle
plugins/mod_scansion_record.lua
--- a/plugins/mod_scansion_record.lua	Sat Sep 22 14:28:39 2018 +0200
+++ b/plugins/mod_scansion_record.lua	Sat Sep 22 14:29:39 2018 +0200
@@ -72,5 +72,5 @@
 end);
 
 module:hook_global("server-stopping", function ()
-	fh:close();
+	scan:close();
 end);