Commit 6bd176f1 authored by louiz’'s avatar louiz’

Fix a parenthesis ambiguity

parent 050cf1fd
......@@ -92,7 +92,7 @@ void IrcClient::send_message(IrcMessage&& message)
for (const std::string& arg: message.arguments)
{
if (arg.find(" ") != std::string::npos ||
(!arg.empty()) && arg[0] == ':')
(!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