From eb3a44a71328fd600450782a042fd075434eec55 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Thu, 15 Aug 2019 10:55:48 +0200 Subject: [PATCH] clarifying comment --- src/irc/core/irc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/irc/core/irc.c b/src/irc/core/irc.c index 4adbfcc9..3c7e30c0 100644 --- a/src/irc/core/irc.c +++ b/src/irc/core/irc.c @@ -160,7 +160,10 @@ static char *split_nicks(const char *cmd, char **pre, char **nicks, char **post, *pre = g_strdup(cmd); *post = *nicks = NULL; - if (**pre == '@') { /* message-tags */ + if (**pre == '@') { + /* the message-tags "add" one space separated argument + in front of the non message-tagged IRC commands. So + the nicks are now off-set by one to the right. */ arg++; }