aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-06-15 20:00:59 +0100
committerGravatar Sadie Powell2026-06-15 20:00:59 +0100
commitd78556a404f219049787544128bb01188e32cdf3 (patch)
treef7a163b3e591733bb39e966e845e39ae5787c1a7 /src/modules.cpp
parentMinor cleanup of ListModeBase (diff)
parentFix one last case of an old email address. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 761c8f3a0..4f9586773 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -521,9 +521,7 @@ void ModuleManager::LoadAll()
fmt::println("[{}] Loading module:\t{}", fmt::styled("*", fmt::emphasis::bold | fmt::fg(fmt::terminal_color::green)), name);
if (!this->Load(name, true))
{
- fmt::println("");
fmt::println("[{}] {}", fmt::styled("*", fmt::emphasis::bold | fmt::fg(fmt::terminal_color::red)), LastError());
- fmt::println("");
ServerInstance->Exit(EXIT_FAILURE);
}
}
@@ -542,9 +540,7 @@ void ModuleManager::LoadAll()
{
LastModuleError = "Unable to initialize " + modname + ": " + modexcept.GetReason();
ServerInstance->Logs.Critical("MODULE", LastModuleError);
- fmt::println("");
fmt::println("[{}] {}", fmt::styled("*", fmt::emphasis::bold | fmt::fg(fmt::terminal_color::red)), LastModuleError);
- fmt::println("");
ServerInstance->Exit(EXIT_FAILURE);
}
}
@@ -566,9 +562,7 @@ void ModuleManager::LoadAll()
{
LastModuleError = "Unable to read the configuration for " + modname + ": " + modexcept.GetReason();
ServerInstance->Logs.Critical("MODULE", LastModuleError);
- fmt::println("");
fmt::println("[{}] {}", fmt::styled("*", fmt::emphasis::bold | fmt::fg(fmt::terminal_color::red)), LastModuleError);
- fmt::println("");
ServerInstance->Exit(EXIT_FAILURE);
}
}