~singpolyma/biboumi

221ed2553dcc5c43bfeb71f97e86147735d77856 — Florent Le Coz 7 years ago 163ace5
Two trivial fixes
1 files changed, 2 insertions(+), 2 deletions(-)

M src/irc/irc_client.cpp
M src/irc/irc_client.cpp => src/irc/irc_client.cpp +2 -2
@@ 291,7 291,7 @@ void IrcClient::send_pong_command(const IrcMessage& message)
  this->send_message(IrcMessage("PONG", {id}));
}

void IrcClient::on_pong(const IrcMessage& message)
void IrcClient::on_pong(const IrcMessage&)
{
}



@@ 316,7 316,7 @@ void IrcClient::on_notice(const IrcMessage& message)

  if (!to.empty() && this->chantypes.find(to[0]) == this->chantypes.end())
    {
      // The notice is for the us precisely.
      // The notice is for us precisely.

      // Find out if we already sent a private message to this user. If yes
      // we treat that message as a private message coming from