diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 7 | ||||
-rw-r--r-- | src/actions/actions.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 9f3259c09..22dd4834b 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -986,4 +986,11 @@ impHandler0(dumpGL) } #endif +impHandler(dumpMods) +{ + std::string str = "enabled mods: " + serverConfig.getValue("mods", ""); + outStringNormal(event.tab, str, str); + return true; +} + } // namespace Actions diff --git a/src/actions/actions.h b/src/actions/actions.h index 4aaa8b199..7a8217570 100644 --- a/src/actions/actions.h +++ b/src/actions/actions.h @@ -77,6 +77,7 @@ namespace Actions decHandler(dumpTests); decHandler(dumpOGL); decHandler(dumpGL); + decHandler(dumpMods); } // namespace Actions #undef decHandler |