diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/lua/liolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/liolib.c b/apps/plugins/lua/liolib.c index 2ea52b854b..76c758e363 100644 --- a/apps/plugins/lua/liolib.c +++ b/apps/plugins/lua/liolib.c @@ -259,7 +259,7 @@ static int read_number (lua_State *L, int *f) { if(i == 0) return 0; else { rb->lseek(*f, i-10, SEEK_CUR); - d = atoi(buf); + d = rb->atoi(buf); lua_pushnumber(L, d); return 1; } |