Software /
code /
prosody
Diff
net/server_event.lua @ 2117:ce42307f0938
net.server_event: Use correct listener callbacks
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 22 Nov 2009 03:51:31 +0000 |
parent | 2116:719f95428522 |
child | 2118:2e2e1b46cfe2 |
line wrap: on
line diff
--- 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" )