From 7ebf6b9fa2d6b7bf12d52d5f4bf65bfbf6fb889a Mon Sep 17 00:00:00 2001 From: Michael Czigler <37268479+mcpcpc@users.noreply.github.com> Date: Thu, 20 Jan 2022 23:00:38 -0500 Subject: released at 0.3.0 --- LICENSE | 2 +- README | 7 +++++-- kirc.1 | 9 ++++++++- kirc.c | 4 ++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/LICENSE b/LICENSE index d0bb7d9..2051c81 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Michael Czigler +Copyright (c) 2021-2022 Michael Czigler Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README b/README index 6a9cbc4..1508151 100644 --- a/README +++ b/README @@ -26,8 +26,11 @@ Command Aliases --------------- send PRIVMSG to the current channel. - @ send message to a specified channel or nick. - @@ send CTCP ACTION message to a specified channel or nick. + @ send PRIVMSG to a specified channel or nick. + @@ send CTCP ACTION message to a specified channel or + nick (if no channel or nick is specified, the + message will be sent to the default channel. + the default channel). / send command to the IRC server (see RFC 2812). /# assign new default message channel. diff --git a/kirc.1 b/kirc.1 index 323cebd..246127b 100644 --- a/kirc.1 +++ b/kirc.1 @@ -75,13 +75,20 @@ to specified or .I .TP -.BI @@ +.BI @@ " " Send CTCP ACTION containing .I to specified .I or .I +(if no +.I +or +.I +is specified, the +.I +will be sent to the default message channel) .SH AUTHOR Michael Czigler .SH BUGS diff --git a/kirc.c b/kirc.c index d69860a..6f1f943 100644 --- a/kirc.c +++ b/kirc.c @@ -18,7 +18,7 @@ #include #define CTCP_CMDS "ACTION VERSION TIME CLIENTINFO PING" -#define VERSION "0.2.9" +#define VERSION "0.3.0" #define MSG_MAX 512 #define CHA_MAX 200 #define NIC_MAX 26 @@ -917,7 +917,7 @@ static void usage(void) { } static void version(void) { - fputs("kirc-" VERSION "Copyright © 2021 Michael Czigler, MIT License\n", + fputs("kirc-" VERSION " Copyright © 2021 Michael Czigler, MIT License\n", stdout); exit(0); } -- cgit v1.2.3