summaryrefslogtreecommitdiff
path: root/src/coremods
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-05-12 23:42:20 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-05-12 23:42:20 +0200
commit00c0409dd47fe985abf0f8d32cd66c8ef81fe708 (patch)
tree20700a4970690c355d8eae364bbd2e12bc131db8 /src/coremods
parentf757c2d75bc284211f3b53b2819b88becfd8632f (diff)
Remove support for non-unloadable (VF_STATIC) modules
No module we ship uses this flag and new modules should not use it either to make hotfixing possible
Diffstat (limited to 'src/coremods')
-rw-r--r--src/coremods/core_info/cmd_modules.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_info/cmd_modules.cpp b/src/coremods/core_info/cmd_modules.cpp
index 7f31beaf8..0a1420e13 100644
--- a/src/coremods/core_info/cmd_modules.cpp
+++ b/src/coremods/core_info/cmd_modules.cpp
@@ -58,9 +58,9 @@ CmdResult CommandModules::Handle (const std::vector<std::string>& parameters, Us
if (IS_LOCAL(user) && user->HasPrivPermission("servers/auspex"))
{
- std::string flags("SvcC");
+ std::string flags("vcC");
int pos = 0;
- for (int mult = 1; mult <= VF_OPTCOMMON; mult *= 2, ++pos)
+ for (int mult = 2; mult <= VF_OPTCOMMON; mult *= 2, ++pos)
if (!(V.Flags & mult))
flags[pos] = '-';