summaryrefslogtreecommitdiff
path: root/src/lua-interface.cpp
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-06-10 18:32:29 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-06-10 18:32:29 +0200
commit3a137ca0a746e80208da62493892695a2e8fe51b (patch)
tree1355aa745999794d4e027cab5cd9087cc5a95f2e /src/lua-interface.cpp
parent035cd38e85bd4de172f0f1ea5050c7c7d1a3654a (diff)
Removing luaiup from lua-interface-light.
Diffstat (limited to 'src/lua-interface.cpp')
-rw-r--r--src/lua-interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp
index d05b95a..a72b366 100644
--- a/src/lua-interface.cpp
+++ b/src/lua-interface.cpp
@@ -363,10 +363,10 @@ int sLua_baselua_interface::baselua_interface_proceed_statics(Lua * L, int n, in
luacd_init(L);
} else if ((filename == "luapsx") && (luapsx_init != NULL)) {
luapsx_init(L);
-#endif
} else if ((filename == "luaiup") && (luaiup_init != NULL)) {
luaiup_init(L);
#endif
+#endif
} else {
LuaLoadPlugin(filename, L);
}
@@ -839,10 +839,10 @@ void autoload_exports(Lua * L) {
luacd_init(L);
if (luapsx_init)
luapsx_init(L);
-#endif
if (luaiup_init)
luaiup_init(L);
#endif
+#endif
}
virtual int startup() throw (GeneralException) {