summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/strlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c
index 4b69477dd..35e0c63b0 100644
--- a/src/common/strlib.c
+++ b/src/common/strlib.c
@@ -1130,6 +1130,7 @@ void strlib_defaults(void) {
sv = &sv_s;
/* link~u! */
strlib->jstrescape = jstrescape;
+ strlib->jstrescapecpy = jstrescapecpy;
strlib->jmemescapecpy = jmemescapecpy;
strlib->remove_control_chars = remove_control_chars;
strlib->trim = trim;