Commit d6832fbc authored by louiz’'s avatar louiz’

:3

parent 1151c26c
......@@ -91,7 +91,8 @@ void IrcClient::send_message(IrcMessage&& message)
res += std::move(message.command);
for (const std::string& arg: message.arguments)
{
if (arg.find(" ") != std::string::npos)
if (arg.find(" ") != std::string::npos ||
(!arg.empty()) && arg[0] == ':')
{
res += " :" + arg;
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment