diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-31 19:56:22 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-31 19:56:22 +0000 |
commit | 0e63f231e1afefb8b1143e1904e5d3849daf3b3e (patch) | |
tree | 1ac4e82291208ab6088d562dc7fb752556f81773 /net/server_select.lua | |
parent | f19f87250a105d2c8b8889d43957a7c189b25304 (diff) | |
download | prosody-0e63f231e1afefb8b1143e1904e5d3849daf3b3e.tar.gz prosody-0e63f231e1afefb8b1143e1904e5d3849daf3b3e.zip |
net.server_select: listener.status -> listener.onstatus for consistency
Diffstat (limited to 'net/server_select.lua')
-rw-r--r-- | net/server_select.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index 2d9e0d86..e317d7dc 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -249,7 +249,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport local ssl local dispatch = listeners.onincoming - local status = listeners.status + local status = listeners.onstatus local disconnect = listeners.ondisconnect local bufferqueue = { } -- buffer array @@ -282,6 +282,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport handler.setlistener = function( self, listeners ) dispatch = listeners.onincoming disconnect = listeners.ondisconnect + status = listeners.onstatus end handler.getstats = function( ) return readtraffic, sendtraffic |