From 4ab26eee1dd329152cd2424b0851f2ce950f96bc Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 29 Mar 2026 17:51:42 -0400 Subject: Rewrite parse_msg(), get rid of strtok(), save 328 bytes! --- src/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd.c') diff --git a/src/cmd.c b/src/cmd.c index bdba91e..d208683 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -120,7 +120,7 @@ static void err_no_scr_target(void) { "part #channel I'm outta here\0" after nextarg(), arg points to "part\0" only, and ret points to "#channel I'm outta here\0". */ -static char *nextarg(char *arg) { +char *nextarg(char *arg) { /* iterate over the first word */ while(*arg && *arg != ' ') arg++; -- cgit v1.2.3