summaryrefslogtreecommitdiffstats
path: root/src/crsm.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2015-10-08 14:04:04 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2015-10-08 14:04:04 +0200
commitdbd4d15144c727f967911d41d798758bfb9bad03 (patch)
tree7b3245f2ea9265f98dae5a16ff5b6dd268c8e0d8 /src/crsm.hpp
parentc59e14b83f8b88f01ec23dcc4e6265cbfb84f733 (diff)
downloadmanager-dbd4d15144c727f967911d41d798758bfb9bad03.tar.gz
manager-dbd4d15144c727f967911d41d798758bfb9bad03.zip
Add config get and config set commands and a -= config syntax to remove
elements from a list or map (by key)
Diffstat (limited to 'src/crsm.hpp')
-rw-r--r--src/crsm.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crsm.hpp b/src/crsm.hpp
index 139446c..2059a5a 100644
--- a/src/crsm.hpp
+++ b/src/crsm.hpp
@@ -231,6 +231,8 @@ private:
void exit();
+ void applyConfig();
+
CMD_FUNCTION(help);
CMD_FUNCTION(passToClonk);
CMD_FUNCTION(passToClonkOnOff);
@@ -274,6 +276,9 @@ private:
CMD_FUNCTION(relist);
+ CMD_FUNCTION(getConfigValue);
+ CMD_FUNCTION(setConfigValue);
+
IRC_CHECK_CALLBACK(ircSetAdmin);
IRC_CHECK_CALLBACK(ircModCmd);
};