summaryrefslogtreecommitdiff
path: root/dircpsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'dircpsa.c')
-rw-r--r--dircpsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dircpsa.c b/dircpsa.c
index 461c91d..f7b346a 100644
--- a/dircpsa.c
+++ b/dircpsa.c
@@ -46,7 +46,7 @@ int main (int argc, char *argv[])
printf("Usage: %s <channel> <log>\n", argv[0]);
return 1;
}
- irc_ctx_t ctx = {.channel = argv[1], .log = argv[2]};
+ irc_ctx_t ctx = {argv[1], argv[2]};
irc_callbacks_t callbacks;
memset(&callbacks, 0, sizeof(callbacks));