diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/lua/liolib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/plugins/lua/liolib.c b/apps/plugins/lua/liolib.c index 76c758e363..0651ca971e 100644 --- a/apps/plugins/lua/liolib.c +++ b/apps/plugins/lua/liolib.c @@ -156,8 +156,6 @@ static int io_open (lua_State *L) { flags = O_WRONLY | O_APPEND; break; } } - if(!rb->file_exists(filename)) - flags |= O_CREAT; *pf = rb->open(filename, flags); return (*pf < 0) ? pushresult(L, 0, filename) : 1; } |