# HG changeset patch # User Kim Alvefur # Date 1459881710 -7200 # Node ID 8ec935687baef34399c45439b75b520a71367738 # Parent 0d9ac472e58c426dae3453a43248e34402337620 server_event: Split long list of assignments into multiple lines for readability diff -r 0d9ac472e58c -r 8ec935687bae net/server_event.lua --- a/net/server_event.lua Tue Apr 05 20:39:36 2016 +0200 +++ b/net/server_event.lua Tue Apr 05 20:41:50 2016 +0200 @@ -409,10 +409,13 @@ function interface_mt:setlistener(listener) self:ondetach(); -- Notify listener that it is no longer responsible for this connection - self.onconnect, self.ondisconnect, self.onincoming, self.ontimeout, - self.onreadtimeout, self.onstatus, self.ondetach - = listener.onconnect, listener.ondisconnect, listener.onincoming, listener.ontimeout, - listener.onreadtimeout, listener.onstatus, listener.ondetach; + self.onconnect = listener.onconnect; + self.ondisconnect = listener.ondisconnect; + self.onincoming = listener.onincoming; + self.ontimeout = listener.ontimeout; + self.onreadtimeout = listener.onreadtimeout; + self.onstatus = listener.onstatus; + self.ondetach = listener.ondetach; end -- Stub handlers