summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-11-30 18:53:45 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-12-03 18:49:43 +0100
commit6bd176f15ebf146874bc7f4525870e52921cc2fe (patch)
tree532054919f768f1a71be7c24c60b8aa831c4c023 /src
parent050cf1fd606a04c4734d66e996a52a907001bd12 (diff)
downloadbiboumi-6bd176f15ebf146874bc7f4525870e52921cc2fe.tar.gz
biboumi-6bd176f15ebf146874bc7f4525870e52921cc2fe.tar.bz2
biboumi-6bd176f15ebf146874bc7f4525870e52921cc2fe.tar.xz
biboumi-6bd176f15ebf146874bc7f4525870e52921cc2fe.zip
Fix a parenthesis ambiguity
Diffstat (limited to 'src')
-rw-r--r--src/irc/irc_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp
index 2d158fb..0061561 100644
--- a/src/irc/irc_client.cpp
+++ b/src/irc/irc_client.cpp
@@ -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;