aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-12-18 13:43:33 +0000
committerGravatar Sadie Powell2022-12-18 13:43:33 +0000
commitd8b4414ee18be69eb7c6c491587e4895dc995fac (patch)
tree5aebcbacc529d29c622974df798f4aa42d28f518 /src/modules/m_spanningtree/utils.cpp
parentUpdate /MOTD to match /OPERMOTD. (diff)
Rework the levels things are logged at to make more sense.
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 baceab9e3..d0013fc30 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -205,7 +205,7 @@ void SpanningTreeUtilities::RefreshIPCache()
bool isunix = L->IPAddr.find('/') != std::string::npos;
if (!L->Port && !isunix)
{
- ServerInstance->Logs.Normal(MODNAME, "Ignoring a link block without a port.");
+ ServerInstance->Logs.Warning(MODNAME, "Ignoring a link block without a port.");
/* Invalid link block */
continue;
}
@@ -304,11 +304,11 @@ void SpanningTreeUtilities::ReadConfiguration()
if (L->IPAddr.empty())
{
L->IPAddr = "*";
- 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.");
+ ServerInstance->Logs.Warning(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.Normal(MODNAME, "Configuration warning: Link block '" + L->Name + "' has no port defined, you will not be able to /connect it.");
+ ServerInstance->Logs.Warning(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);