aboutsummaryrefslogtreecommitdiff
path: root/src/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.c')
-rw-r--r--src/cmd.c2
1 files changed, 1 insertions, 1 deletions
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++;