From: Egor Date: Thu, 12 Feb 2026 15:18:46 +0000 (+0200) Subject: irc: exclude the initial colon from the parsed source X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=730d2c59fc22b5c3c639dd68d6398e3b906610a8;p=patchyircd.git irc: exclude the initial colon from the parsed source --- diff --git a/src/irc.cpp b/src/irc.cpp index d2bec40..34eb124 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -129,7 +129,7 @@ bool irc_parse_line(Client *client, char *p, char *end) { } } if (*p == ':') { - source = p; + source = ++p; while (*p != ' ' && *p != '\n') p++; if (*p++ == '\n') {