diff options
Diffstat (limited to 'apps/plugins/lua')
| -rw-r--r-- | apps/plugins/lua/rocklib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/rocklib.c b/apps/plugins/lua/rocklib.c index 1b928c2..80124d2 100644 --- a/apps/plugins/lua/rocklib.c +++ b/apps/plugins/lua/rocklib.c @@ -131,7 +131,7 @@ RB_WRAP(kbd_input) char *buffer = luaL_prepbuffer(&b); if(input != NULL) - luaL_addstring(&b, input); + rb->strlcpy(buffer, input, LUAL_BUFFERSIZE); else buffer[0] = '\0'; |