Remove a bunch of useless empty lines

This commit is contained in:
louiz’
2018-08-04 14:50:33 +02:00
parent 6a86b14d05
commit 782732ba16
4 changed files with 0 additions and 7 deletions
-3
View File
@@ -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)
-1
View File
@@ -338,7 +338,6 @@ Transaction::Transaction()
log_error("Failed to create SQL transaction: ", std::get<std::string>(result));
else
this->success = true;
}
Transaction::~Transaction()
-1
View File
@@ -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)
-2
View File
@@ -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;