aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-31 19:57:58 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-31 19:57:58 +0000
commit8364b91133cd3de9edcf40b227a9a3409680a5c7 (patch)
treec25065f35a6801bc672e30895629a3fe24afedaa
parent0e63f231e1afefb8b1143e1904e5d3849daf3b3e (diff)
downloadprosody-8364b91133cd3de9edcf40b227a9a3409680a5c7.tar.gz
prosody-8364b91133cd3de9edcf40b227a9a3409680a5c7.zip
net.xmppserver_listener: status -> onstatus for consistency
-rw-r--r--net/xmppserver_listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua
index 7fe012af..c9746ee1 100644
--- a/net/xmppserver_listener.lua
+++ b/net/xmppserver_listener.lua
@@ -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