aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-16 16:56:24 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-16 17:59:50 +0200
commit1ff80ddd1092ca7d4a4a81e1d45a8942692695ad (patch)
tree388e91edb8ffe8770c725cf4b506580639e9574c
parent12c8ace6a14060b8ae400009e475a7722cbd1f6a (diff)
downloadxK-1ff80ddd1092ca7d4a4a81e1d45a8942692695ad.tar.gz
xK-1ff80ddd1092ca7d4a4a81e1d45a8942692695ad.tar.xz
xK-1ff80ddd1092ca7d4a4a81e1d45a8942692695ad.zip
degesch: stubplement TAGMSG
-rw-r--r--degesch.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index 39d1430..2af63b5 100644
--- a/degesch.c
+++ b/degesch.c
@@ -7115,6 +7115,14 @@ irc_handle_quit (struct server *s, const struct irc_message *msg)
}
static void
+irc_handle_tagmsg (struct server *s, const struct irc_message *msg)
+{
+ // TODO: here we can process "typing" tags, once we find this useful
+ (void) s;
+ (void) msg;
+}
+
+static void
irc_handle_topic (struct server *s, const struct irc_message *msg)
{
if (!msg->prefix || msg->params.len < 2)
@@ -7158,6 +7166,7 @@ static struct irc_handler g_irc_handlers[] =
{ "PING", irc_handle_ping },
{ "PRIVMSG", irc_handle_privmsg },
{ "QUIT", irc_handle_quit },
+ { "TAGMSG", irc_handle_tagmsg },
{ "TOPIC", irc_handle_topic },
};