diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-22 12:29:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-22 12:29:25 +0300 |
commit | 7550d326fd1d1811eb3dcbf33a41ec57e109ddae (patch) | |
tree | 44b986fe77a4bcdf1aae4379321fee6bac3c06eb /src/commands.cpp | |
parent | 61653ea26a02841754baf97a1124aeea2b21e101 (diff) | |
download | ManaVerse-7550d326fd1d1811eb3dcbf33a41ec57e109ddae.tar.gz ManaVerse-7550d326fd1d1811eb3dcbf33a41ec57e109ddae.tar.bz2 ManaVerse-7550d326fd1d1811eb3dcbf33a41ec57e109ddae.tar.xz ManaVerse-7550d326fd1d1811eb3dcbf33a41ec57e109ddae.zip |
add dumpmods chat command for show enabled mods.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 07e0414d5..72fedeff1 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1311,6 +1311,12 @@ impHandler0(testsdlfont) #endif } +impHandler2(dumpMods) +{ + std::string str = "enabled mods: " + serverConfig.getValue("mods", ""); + outStringNormal(tab, str, str); +} + #ifdef USE_OPENGL impHandler2(dumpGL) { |