summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-04-28 16:46:03 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-04-28 16:46:03 +0200
commit7a73cf3d8bbe5445e441d400099736f05cc4e5d8 (patch)
tree815fa9277111767d7596d929daf953840e9987b1 /src/main.c
parent7c321d614e8d91b23434b13bfcf89274797815ec (diff)
Got the thing to work.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 509255c..732ad20 100644
--- a/src/main.c
+++ b/src/main.c
@@ -33,6 +33,9 @@ static void print_help (const char runnable [const restrict static 1])
" IRC_PORT:\tPort to use for the IRC connection.\n"
"\nOptions:\n"
" -6, --ipv6:\tEnables IPv6.\n"
+ " -c, --print-chat:\tDisplays IRC conversations on stdout.\n"
+ " -i, --print-additional-info:\tDisplays received JH info messages on"
+ " stdout.\n"
" -u USERNAME, --username USERNAME:\tSets the IRC username.\n"
" -r REALNAME, --realname REALNAME:\tSets the IRC realname.\n"
" -p PASSWORD, --password PASSWORD:\tSets the IRC password.\n",
@@ -178,6 +181,13 @@ static int event_handling_loop
return -1;
}
+
+ JH_meta_net_handle_reply
+ (
+ socket,
+ irc,
+ params
+ );
}
return 0;