client shims: Remove some duplicate code

Both commit 44e6b2d24e and 4eda67ce54 added the same function to this
file (and by the commit message, the later was intended to do so, while
the former has an unrelated commit message (but does not contain any
other changes)).

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2019-09-21 13:44:38 +02:00
parent fb151c3340
commit 0bc22aea85
1 changed files with 0 additions and 8 deletions

View File

@ -200,14 +200,6 @@ function client.gen_fake(args)
return ret.data._struts return ret.data._struts
end end
function ret:struts(new)
for k, v in pairs(new or {}) do
ret.data._struts[k] = v
end
return ret.data._struts
end
-- Set a dummy one for now since set_screen will corrupt it. -- Set a dummy one for now since set_screen will corrupt it.
ret._old_geo = {} ret._old_geo = {}