fancy-prompt.lua: remove unnecessary local variable

This commit is contained in:
Přemysl Eric Janouch 2017-05-11 20:09:00 +02:00
parent b18a8048c1
commit 0bdcd4aa8b
Signed by: p
GPG Key ID: B715679E3A361BE6

View File

@ -29,7 +29,7 @@
-- background but to really fix that mode, we'd have to fully reimplement it
-- since its alternative prompt very often gets overriden by accident anyway.
local prompt = degesch.hook_prompt (function (hook)
degesch.hook_prompt (function (hook)
local current = degesch.current_buffer
local chan = current.channel
local s = current.server