Software /
code /
prosody
Changeset
2559:a90a00ebae25
net.server_select: listener.status -> listener.onstatus for consistency
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 31 Jan 2010 19:56:22 +0000 |
parents | 2558:0a65fc0c7bee |
children | 2560:56063f825199 |
files | net/server_select.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_select.lua Sun Jan 31 19:54:56 2010 +0000 +++ b/net/server_select.lua Sun Jan 31 19:56:22 2010 +0000 @@ -249,7 +249,7 @@ 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 @@ handler.setlistener = function( self, listeners ) dispatch = listeners.onincoming disconnect = listeners.ondisconnect + status = listeners.onstatus end handler.getstats = function( ) return readtraffic, sendtraffic