Software /
code /
prosody
Diff
net/server_select.lua @ 2233:459c1d1cae95
net.server_select: Rename server.setsend() to server.set_send() for consistency
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 26 Nov 2009 22:08:47 +0000 |
parent | 2131:72411e239221 |
child | 2250:3196dabe8a36 |
line wrap: on
line diff
--- a/net/server_select.lua Thu Nov 26 22:08:10 2009 +0000 +++ b/net/server_select.lua Thu Nov 26 22:08:47 2009 +0000 @@ -427,7 +427,7 @@ pattern = new or pattern return pattern end - handler.setsend = function ( self, newsend ) + handler.set_send = function ( self, newsend ) send = newsend or send return send end