Skip to content

Commit

Permalink
Fix parse to process <trail> message
Browse files Browse the repository at this point in the history
  • Loading branch information
Ria9993 committed Apr 13, 2024
1 parent 9814850 commit 7487fdc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Source/Server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,13 @@ EIrcErrorCode Server::processClientMsg(SharedPtr<ClientControlBlock> client, Sha
}
bPrefixIgnored = true;
}
// Store the token
// <Trail> token
else if (msg->Msg[i] == ':' && msgArgTokens.size() > 0)
{
msgArgTokens.push_back(&msg->Msg[i + 1]);
break;
}
// Store the normal argument token
else if (i < msg->MsgLen)
{
if (msgCommandToken == NULL)
Expand Down

0 comments on commit 7487fdc

Please sign in to comment.