bugfix: typo

This commit is contained in:
云风
2013-06-20 17:01:17 +08:00
parent 1d2b6fb87c
commit 0ffd9b8b8e

View File

@@ -341,7 +341,7 @@ _redirect(lua_State *L) {
break;
}
default:
luaL_error(L, "skynet.redirect invalid param %s", lua_type(L,5));
luaL_error(L, "skynet.redirect invalid param %s", lua_typename(L,mtype));
}
return 0;
}