diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 13:11:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 13:11:54 +0300 |
commit | 2981363fef524501a4a24a5f4c60661ebdee80fa (patch) | |
tree | 6067275efc1b7c512436725f9ff1928b63bead13 /src/actions/actions.cpp | |
parent | 7c87b2ac8e01307e603bd85420f8d10724a296e6 (diff) | |
download | mv-2981363fef524501a4a24a5f4c60661ebdee80fa.tar.gz mv-2981363fef524501a4a24a5f4c60661ebdee80fa.tar.bz2 mv-2981363fef524501a4a24a5f4c60661ebdee80fa.tar.xz mv-2981363fef524501a4a24a5f4c60661ebdee80fa.zip |
Move chat command /dumpmods into actions.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 7 |
1 files changed, 7 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 |