# HG changeset patch # User Matthew Wild # Date 1258861891 0 # Node ID ce42307f09388035de4aedbd737c177cb1f04e88 # Parent 719f95428522ea7dad3b3c132f03754a51bd668f net.server_event: Use correct listener callbacks diff -r 719f95428522 -r ce42307f0938 net/server_event.lua --- a/net/server_event.lua Sun Nov 22 03:49:47 2009 +0000 +++ b/net/server_event.lua Sun Nov 22 03:51:31 2009 +0000 @@ -212,9 +212,9 @@ self.receive = self.conn.receive local onsomething if "onconnect" == arg then -- trigger listener - onsomething = self.listener.onconnect + onsomething = self.onconnect else - onsomething = self.listener.onsslconnection + onsomething = self.onsslconnection end self:_start_session( onsomething ) debug( "ssl handshake done" )