summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 13:11:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 13:11:54 +0300
commit2981363fef524501a4a24a5f4c60661ebdee80fa (patch)
tree6067275efc1b7c512436725f9ff1928b63bead13 /src/actions/actions.cpp
parent7c87b2ac8e01307e603bd85420f8d10724a296e6 (diff)
downloadplus-2981363fef524501a4a24a5f4c60661ebdee80fa.tar.gz
plus-2981363fef524501a4a24a5f4c60661ebdee80fa.tar.bz2
plus-2981363fef524501a4a24a5f4c60661ebdee80fa.tar.xz
plus-2981363fef524501a4a24a5f4c60661ebdee80fa.zip
Move chat command /dumpmods into actions.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp7
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