aboutsummaryrefslogtreecommitdiffstats
path: root/src/modulemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modulemanager.cpp')
-rw-r--r--src/modulemanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp
index 4caafe239..ee0452b21 100644
--- a/src/modulemanager.cpp
+++ b/src/modulemanager.cpp
@@ -84,6 +84,12 @@ bool ModuleManager::Load(const std::string& modname, bool defer)
ServerInstance->Logs.Normal("MODULE", "New module introduced: {} (version {}, properties {})",
filename, newmod->GetVersion(), newmod->GetPropertyString());
+
+ if (newmod->properties & VF_DEPRECATED)
+ {
+ ServerInstance->Logs.Warning("MODULE", "The {} module is deprecated and will be removed in the next version of InspIRCd!",
+ ModuleManager::ShrinkModName(filename));
+ }
}
else
{