]> jfr.im git - irc/quakenet/newserv.git/commitdiff
LUA: fix up socket binding
authorChris Porter <redacted>
Sat, 3 Sep 2011 22:39:27 +0000 (23:39 +0100)
committerChris Porter <redacted>
Sat, 3 Sep 2011 22:39:27 +0000 (23:39 +0100)
lua/lib/socket.lua

index 2e76afc3b79776e4e6a3c90c12721f3dece0e857..7609c9aead68b1f4f006976a56560e715b56109f 100644 (file)
@@ -83,7 +83,7 @@ local function socket_ip_connect(fn, address, port, handler, tag)
 end
 
 local function socket_ip_bind(fn, address, port, handler, tag)
-  local socket = fn(address, port, socket_handler, tag)
+  local socket = fn(address, port, handler, tag)
   if not socket then
     return nil
   end