aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/capab.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-11 00:37:09 +0000
committerGravatar Sadie Powell2023-01-11 00:56:10 +0000
commitb7b72521a7066f7694fdcc78702936fae4b11894 (patch)
tree2ecc424d56526cb8e8cd0e846a285c53628ae385 /src/modules/m_spanningtree/capab.cpp
parentQualify auto correctly in all cases. (diff)
Fix calling various static functions through a type instance.
Diffstat (limited to 'src/modules/m_spanningtree/capab.cpp')
-rw-r--r--src/modules/m_spanningtree/capab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp
index c151ef7e1..dee87c4e5 100644
--- a/src/modules/m_spanningtree/capab.cpp
+++ b/src/modules/m_spanningtree/capab.cpp
@@ -69,7 +69,7 @@ namespace
modname.assign(name.substr(startpos, endpos - startpos));
}
- modules[modname] = Utils->BuildLinkString(protocol, module);
+ modules[modname] = SpanningTreeUtilities::BuildLinkString(protocol, module);
}
return modules;
}
@@ -566,7 +566,7 @@ bool TreeSocket::Capab(const CommandBase::Params& params)
if (!this->GetTheirChallenge().empty() && (this->LinkState == CONNECTING))
{
this->SendCapabilities(2);
- this->WriteLine("SERVER "+ServerInstance->Config->ServerName+" "+this->MakePass(capab->link->SendPass, capab->theirchallenge)+" 0 "+ServerInstance->Config->GetSID()+" :"+ServerInstance->Config->ServerDesc);
+ this->WriteLine("SERVER " + ServerInstance->Config->ServerName + " " + TreeSocket::MakePass(capab->link->SendPass, capab->theirchallenge) + " 0 " + ServerInstance->Config->GetSID() + " :" + ServerInstance->Config->ServerDesc);
}
}
else