From 5e75dc0857625fb9061660e07732e0f833e4a125 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Wed, 13 Apr 2005 22:18:21 +0000 Subject: Wrong class... --- src/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/udp.c b/src/udp.c index 7a60080..094e137 100644 --- a/src/udp.c +++ b/src/udp.c @@ -262,7 +262,7 @@ static int meth_settimeout(lua_State *L) { * Turns a master udp object into a client object. \*-------------------------------------------------------------------------*/ static int meth_setpeername(lua_State *L) { - p_udp udp = (p_udp) aux_checkclass(L, "udp{unconnected}", 1); + p_udp udp = (p_udp) aux_checkgroup(L, "udp{any}", 1); p_tm tm = &udp->tm; const char *address = luaL_checkstring(L, 2); int connecting = strcmp(address, "*"); -- cgit v1.2.3-55-g6feb