HACKERS: Update
[prosody.git] / net / xmppserver_listener.lua
index 7fe012afa2fdcbcc16f93d7c4eac23ad3c922495..c9746ee1281fe91c4921c7c88646b5576738a14c 100644 (file)
@@ -155,7 +155,7 @@ function xmppserver.onincoming(conn, data)
        end
 end
        
-function xmppserver.status(conn, status)
+function xmppserver.onstatus(conn, status)
        if status == "ssl-handshake-complete" then
                local session = sessions[conn];
                if session and session.direction == "outgoing" then