Script text shouldn't go through formatted conversion

This commit is contained in:
nzl authored and Quentin Rameau committed 2018-02-23 13:39:35 +01:00
1 parent 7817d0ec83
commit d2e4989c3c
1 file changed
+1 -1
+1 -1
View File
@@ -921,7 +921,7 @@ runscript(Client *c)
gsize l;
if (g_file_get_contents(scriptfile, &script, &l, NULL) && l)
evalscript(c, script);
evalscript(c, "%s", script);
g_free(script);
}