~singpolyma/biboumi

782732ba167470fa99ab3d0900c02295b4684b6a — louiz’ 5 years ago 6a86b14
Remove a bunch of useless empty lines
M src/bridge/bridge.cpp => src/bridge/bridge.cpp +0 -3
@@ 458,7 458,6 @@ void Bridge::leave_irc_channel(Iid&& iid, const std::string& status_message, con
    }
      if (this->number_of_channels_the_resource_is_in(iid.get_server(), resource) == 0)
        this->remove_resource_from_server(iid.get_server(), resource);

}

void Bridge::send_irc_nick_change(const Iid& iid, const std::string& new_nick, const std::string& requesting_resource)


@@ 900,9 899,7 @@ void Bridge::send_muc_leave(const Iid& iid, const IrcUser& user,
          for (const auto& r: resources_in_chan)
          if (this->number_of_channels_the_resource_is_in(iid.get_server(), r) == 0)
            this->remove_resource_from_server(iid.get_server(), r);

        }

    }
  IrcClient* irc = this->find_irc_client(iid.get_server());
  if (self && irc && irc->number_of_joined_channels() == 0)

M src/database/database.cpp => src/database/database.cpp +0 -1
@@ 338,7 338,6 @@ Transaction::Transaction()
    log_error("Failed to create SQL transaction: ", std::get<std::string>(result));
  else
    this->success = true;

}

Transaction::~Transaction()

M src/xmpp/biboumi_adhoc_commands.cpp => src/xmpp/biboumi_adhoc_commands.cpp +0 -1
@@ 502,7 502,6 @@ void ConfigureIrcServerStep2(XmppComponent& xmpp_component, AdhocSession& sessio
                  if (client)
                    client->set_throttle_limit(options.col<Database::ThrottleLimit>());
                }

            }

          else if (field->get_tag("var") == "encoding_out" && value)

M src/xmpp/biboumi_component.cpp => src/xmpp/biboumi_component.cpp +0 -2
@@ 359,7 359,6 @@ void BiboumiComponent::handle_message(const Stanza& stanza)
                  this->send_invitation_from_fulljid(std::to_string(iid), invite_to, from_str);
              }
          }

    }
  } catch (const IRCNotConnected& ex)
    {


@@ 605,7 604,6 @@ void BiboumiComponent::handle_iq(const Stanza& stanza)
                  const XmlNode* max = set_node->get_child("max", RSM_NS);
                  if (max)
                    rs_info.max = std::atoi(max->get_inner().data());

                }
              if (rs_info.max == -1)
                rs_info.max = 100;