# HG changeset patch # User Waqas Hussain # Date 1314999770 -18000 # Node ID 705a8f14427b363c4cda1399548090f7ba674bb5 # Parent 99277a1abe58e2d7fb980cd081fc70226cc3b541 net.server_event: Don't call listener.onincoming with data=nil when listener.onconnect is missing. onincoming's arguments shall always be non-nil. diff -r 99277a1abe58 -r 705a8f14427b net/server_event.lua --- a/net/server_event.lua Sat Sep 03 01:07:35 2011 +0500 +++ b/net/server_event.lua Sat Sep 03 02:42:50 2011 +0500 @@ -460,7 +460,6 @@ -- Stub handlers function interface_mt:onconnect() - return self:onincoming(nil); end function interface_mt:onincoming() end