summaryrefslogtreecommitdiff
path: root/src/coremods/core_info
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-07-31 00:49:27 +0100
committerPeter Powell <petpow@saberuk.com>2018-07-31 03:20:18 +0100
commitd9a52277df06d656564b28e456adabbee52e8c10 (patch)
treeb4ffb2c8dbb3ecef708220826548850c68434f3b /src/coremods/core_info
parentabbf70b2a35edaf17631e43027828011296924ad (diff)
Remove support for static modules.
This has been frequently broken in the past and as far as I know is used by literally nobody. Also, even if all modules are compiled into the core any libraries linked against are and have always been linked dynamically making this unusable on platforms without dynamic libraries.
Diffstat (limited to 'src/coremods/core_info')
-rw-r--r--src/coremods/core_info/cmd_modules.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/coremods/core_info/cmd_modules.cpp b/src/coremods/core_info/cmd_modules.cpp
index 952b6bca2..7212e9525 100644
--- a/src/coremods/core_info/cmd_modules.cpp
+++ b/src/coremods/core_info/cmd_modules.cpp
@@ -71,12 +71,8 @@ CmdResult CommandModules::Handle(User* user, const Params& parameters)
if (!(V.Flags & mult))
flags[pos] = '-';
-#ifdef INSPIRCD_STATIC
- user->WriteRemoteNumeric(RPL_MODLIST, m->ModuleSourceFile, INSPIRCD_VERSION, flags, V.description);
-#else
std::string srcrev = m->ModuleDLLManager->GetVersion();
user->WriteRemoteNumeric(RPL_MODLIST, m->ModuleSourceFile, srcrev.empty() ? "*" : srcrev, flags, V.description);
-#endif
}
else
{