aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-18 03:30:22 +0000
committerGravatar Sadie Powell2022-05-01 22:07:14 +0100
commite23ee3fde17a6bb17a9e56c7105f4bbceb36391f (patch)
treeb5117aa2cc0fe2bee18df3a5dabf0ecc49dbd30e /src/modules/m_spanningtree/utils.cpp
parentRewrite the entire logging system. (diff)
Rewrite logging calls to use the new APIs.
Diffstat (limited to 'src/modules/m_spanningtree/utils.cpp')
-rw-r--r--src/modules/m_spanningtree/utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp
index 539dbe82f..58b908413 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -204,7 +204,7 @@ void SpanningTreeUtilities::RefreshIPCache()
{
if (!L->Port)
{
- ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, "Ignoring a link block without a port.");
+ ServerInstance->Logs.Normal(MODNAME, "Ignoring a link block without a port.");
/* Invalid link block */
continue;
}
@@ -293,11 +293,11 @@ void SpanningTreeUtilities::ReadConfiguration()
if (L->IPAddr.empty())
{
L->IPAddr = "*";
- ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, "Configuration warning: Link block '" + L->Name + "' has no IP defined! This will allow any IP to connect as this server, and MAY not be what you want.");
+ ServerInstance->Logs.Normal(MODNAME, "Configuration warning: Link block '" + L->Name + "' has no IP defined! This will allow any IP to connect as this server, and MAY not be what you want.");
}
if (!L->Port && L->IPAddr.find('/') == std::string::npos)
- ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, "Configuration warning: Link block '" + L->Name + "' has no port defined, you will not be able to /connect it.");
+ ServerInstance->Logs.Normal(MODNAME, "Configuration warning: Link block '" + L->Name + "' has no port defined, you will not be able to /connect it.");
L->Fingerprint.erase(std::remove(L->Fingerprint.begin(), L->Fingerprint.end(), ':'), L->Fingerprint.end());
LinkBlocks.push_back(L);