client shims: Remove some duplicate code
Both commit44e6b2d24e
and4eda67ce54
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:
parent
fb151c3340
commit
0bc22aea85
|
@ -200,14 +200,6 @@ function client.gen_fake(args)
|
|||
return ret.data._struts
|
||||
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.
|
||||
ret._old_geo = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue