summaryrefslogtreecommitdiffstatshomepage
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/console/init.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/console/init.lua b/plugins/console/init.lua
index 388a1ca016b..de8a5844a68 100644
--- a/plugins/console/init.lua
+++ b/plugins/console/init.lua
@@ -296,11 +296,11 @@ function console.startplugin()
end
setmetatable(console, {
- __gc = function ()
- if history_fullpath then
- local ln = require("linenoise")
- ln.savehistory(history_fullpath)
- end
+ __gc = function ()
+ if history_fullpath then
+ local ln = require("linenoise")
+ ln.savehistory(history_fullpath)
+ end
end})
return exports