changeset 434:f98546ddb422

Add luaopen_dns alias for luaopen_org_conman_dns to allow call module from just lua lib directory. Originally it require LIBDIR/org/common/dns.so path.
author Aleksandr Rybalko <ray@ddteam.net>
date Thu, 20 Sep 2012 00:42:15 +0300
parents 8284e9318ef7
children 779a60491198
files contrib/spcdns/src/luadns.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/spcdns/src/luadns.c	Thu Sep 20 00:39:22 2012 +0300
+++ b/contrib/spcdns/src/luadns.c	Thu Sep 20 00:42:15 2012 +0300
@@ -768,3 +768,10 @@
 
 /**********************************************************************/
 
+int luaopen_dns(lua_State *L)
+{
+  return (luaopen_org_conman_dns(L));
+}
+
+/**********************************************************************/
+