aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-26 22:08:47 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-26 22:08:47 +0000
commit9d32568d5d90efa317e4f77a94a678a653547cf0 (patch)
tree8b6140f0b092963de616191318d9c1972f735da8
parent4a3a52f7a1e1b36427a6543dab5fe70499021dd9 (diff)
downloadprosody-9d32568d5d90efa317e4f77a94a678a653547cf0.tar.gz
prosody-9d32568d5d90efa317e4f77a94a678a653547cf0.zip
net.server_select: Rename server.setsend() to server.set_send() for consistency
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index d7970296..3b3f3768 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -427,7 +427,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
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