aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 },
};