diff options
author | Michael Czigler <37268479+mcpcpc@users.noreply.github.com> | 2022-01-20 23:00:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 23:00:38 -0500 |
commit | 7ebf6b9fa2d6b7bf12d52d5f4bf65bfbf6fb889a (patch) | |
tree | bac787509caa93ae560d61559115cff0f4470172 | |
parent | send actions to default channel if none specified (#123) (diff) | |
download | kirc-7ebf6b9fa2d6b7bf12d52d5f4bf65bfbf6fb889a.tar.gz kirc-7ebf6b9fa2d6b7bf12d52d5f4bf65bfbf6fb889a.tar.bz2 kirc-7ebf6b9fa2d6b7bf12d52d5f4bf65bfbf6fb889a.tar.xz kirc-7ebf6b9fa2d6b7bf12d52d5f4bf65bfbf6fb889a.tar.zst kirc-7ebf6b9fa2d6b7bf12d52d5f4bf65bfbf6fb889a.zip |
released at 0.3.0
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | README | 7 | ||||
-rw-r--r-- | kirc.1 | 9 | ||||
-rw-r--r-- | kirc.c | 4 |
4 files changed, 16 insertions, 6 deletions
@@ -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 @@ -26,8 +26,11 @@ Command Aliases --------------- <message> send PRIVMSG to the current channel. - @<channel|nick> <message> send message to a specified channel or nick. - @@<channel|nick> <message> send CTCP ACTION message to a specified channel or nick. + @<channel|nick> <message> send PRIVMSG to a specified channel or nick. + @@<channel|nick> <message> 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). /<command> send command to the IRC server (see RFC 2812). /#<channel> assign new default message channel. @@ -75,13 +75,20 @@ to specified or .I <nick> .TP -.BI @@<channel|nick> +.BI @@<channel|nick> " <message>" Send CTCP ACTION containing .I <message> to specified .I <channel> or .I <nick> +(if no +.I <channel> +or +.I <nick> +is specified, the +.I <message> +will be sent to the default message channel) .SH AUTHOR Michael Czigler <michaelczigler at icloud dot com> .SH BUGS @@ -18,7 +18,7 @@ #include <sys/ioctl.h> #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); } |