diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-22 03:51:31 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-22 03:51:31 +0000 |
commit | d506a991daf0c2cd0dac67fd95fa3f6297eeeb0d (patch) | |
tree | 32822c053eb7025b1111a3c9b3b393a83a7fb1c3 | |
parent | 9cb25f6151d046c5eba18c2c6af207a13906e3da (diff) | |
download | prosody-d506a991daf0c2cd0dac67fd95fa3f6297eeeb0d.tar.gz prosody-d506a991daf0c2cd0dac67fd95fa3f6297eeeb0d.zip |
net.server_event: Use correct listener callbacks
-rw-r--r-- | net/server_event.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index c35c6f53..456db8b8 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -212,9 +212,9 @@ do 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" )
|