src/nexus_lua.c
changeset 202 210c43e6c088
parent 144 51f96539f9f3
child 207 3fa22abb5421
--- a/src/nexus_lua.c	Wed May 20 22:49:03 2009 +0300
+++ b/src/nexus_lua.c	Wed May 20 22:52:01 2009 +0300
@@ -91,16 +91,11 @@
         // build the error_info
         nexus_lua_error(lua->st, ret, err);
 
-        // pop it
+        // pop the error message
         // XXX: err points at GC:able memory
         lua_pop(lua->st, 1);
     }
 
-    if (loaded) {
-        // pop off the chunk
-        lua_pop(lua->st, 1);
-    }
-
     return ERROR_CODE(err);
 }