diff options
| author | 2020-12-16 13:04:54 +0000 | |
|---|---|---|
| committer | 2020-12-16 13:04:54 +0000 | |
| commit | f3d3ccaac1038775bf2cca62066e32cc2d52edc4 (patch) | |
| tree | 4aa8ea729baf9d472aa19ea393da268beb05d0b2 /src | |
| parent | Use !empty instead of size when checking if containers are empty. (diff) | |
Fix an inverted condition in cmd_modules.
Diffstat (limited to 'src')
| -rw-r--r-- | src/coremods/core_info/cmd_modules.cpp | 2 |
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 { |
