~singpolyma/biboumi

d6832fbcc98557952387f3ce2899bbebacd7c204 — Florent Le Coz 10 years ago 1151c26
:3
1 files changed, 2 insertions(+), 1 deletions(-)

M src/irc/irc_client.cpp
M src/irc/irc_client.cpp => src/irc/irc_client.cpp +2 -1
@@ 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;