summaryrefslogtreecommitdiff
path: root/src/coremods
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-12-16 13:04:54 +0000
committerSadie Powell <sadie@witchery.services>2020-12-16 13:04:54 +0000
commitf3d3ccaac1038775bf2cca62066e32cc2d52edc4 (patch)
tree4aa8ea729baf9d472aa19ea393da268beb05d0b2 /src/coremods
parent66dbd438f23a6beb06b0d44b9121deeb1e3f73bc (diff)
Fix an inverted condition in cmd_modules.
Diffstat (limited to 'src/coremods')
-rw-r--r--src/coremods/core_info/cmd_modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_info/cmd_modules.cpp b/src/coremods/core_info/cmd_modules.cpp
index 9f1e26256..7624ce05f 100644
--- a/src/coremods/core_info/cmd_modules.cpp
+++ b/src/coremods/core_info/cmd_modules.cpp
@@ -77,7 +77,7 @@ CmdResult CommandModules::Handle(User* user, const Params& parameters)
flags[pos] = '-';
const char* srcrev = m->ModuleDLLManager->GetVersion();
- user->WriteRemoteNumeric(RPL_MODLIST, m->ModuleSourceFile, srcrev ? "*" : srcrev, flags, V.description);
+ user->WriteRemoteNumeric(RPL_MODLIST, m->ModuleSourceFile, srcrev ? srcrev : "*", flags, V.description);
}
else
{