summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.c b/state.c
index da777da..ecbf368 100644
--- a/state.c
+++ b/state.c
@@ -136,7 +136,7 @@ void stateParse(char *line) {
 	cmd.name = strsep(&line, " ");
 	for (size_t i = 0; line && i < ParamCap; ++i) {
 		if (line[0] == ':') {
-			cmd.params[i] = line;
+			cmd.params[i] = &line[1];
 			break;
 		}
 		cmd.params[i] = strsep(&line, " ");