aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/netburst.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-12-01 05:14:58 +0000
committerGravatar Sadie Powell2022-12-01 05:25:01 +0000
commit45e56e5ee1bdb9e169be957e21a4f7b536e417ff (patch)
tree72642028744c278ca476e656933716ac9f7357b8 /src/modules/m_spanningtree/netburst.cpp
parentMerge branch 'insp3' into master. (diff)
Yet more stylistic fixes.
Diffstat (limited to 'src/modules/m_spanningtree/netburst.cpp')
-rw-r--r--src/modules/m_spanningtree/netburst.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp
index 4664111c2..abe28282f 100644
--- a/src/modules/m_spanningtree/netburst.cpp
+++ b/src/modules/m_spanningtree/netburst.cpp
@@ -88,7 +88,10 @@ public:
struct TreeSocket::BurstState final
{
SpanningTreeProtocolInterface::Server server;
- BurstState(TreeSocket* sock) : server(sock) { }
+ BurstState(TreeSocket* sock)
+ : server(sock)
+ {
+ }
};
/** This function is called when we want to send a netburst to a local
@@ -98,7 +101,7 @@ struct TreeSocket::BurstState final
*/
void TreeSocket::DoBurst(TreeServer* s)
{
- ServerInstance->SNO.WriteToSnoMask('l',"Bursting to \002%s\002 (Authentication: %s%s).",
+ ServerInstance->SNO.WriteToSnoMask('l', "Bursting to \002%s\002 (Authentication: %s%s).",
s->GetName().c_str(),
capab->auth_fingerprint ? "TLS certificate fingerprint and " : "",
capab->auth_challenge ? "challenge-response" : "plaintext password");
@@ -119,7 +122,7 @@ void TreeSocket::DoBurst(TreeServer* s)
this->SendXLines();
Utils->Creator->synceventprov.Call(&ServerProtocol::SyncEventListener::OnSyncNetwork, bs.server);
this->WriteLine(CmdBuilder("ENDBURST"));
- ServerInstance->SNO.WriteToSnoMask('l',"Finished bursting to \002"+ s->GetName()+"\002.");
+ ServerInstance->SNO.WriteToSnoMask('l', "Finished bursting to \002"+ s->GetName()+"\002.");
}
void TreeSocket::SendServerInfo(TreeServer* from)