summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-08 04:16:23 -0400
committerAdam <Adam@anope.org>2012-10-08 04:16:23 -0400
commite57b470e83fac205a354138b1daccec654214e39 (patch)
tree4574a088eda4bc5fa141f7bcbda07e141eae260a /include/config.h
parentb8b63ff115f0daddf479b0da507a2f731255a06d (diff)
Made fantasy commands configurable
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index de68d3105..f4f164b37 100644
--- a/include/config.h
+++ b/include/config.h
@@ -688,6 +688,10 @@ class CoreExport ServerConfig
std::list<OperType *> MyOperTypes;
/* List of pairs of opers and their opertype from the config */
std::vector<Oper *> Opers;
+
+ /* Map of fantasy commands */
+ typedef Anope::insensitive_map<CommandInfo> fantasy_map;
+ fantasy_map Fantasy;
};
/** This class can be used on its own to represent an exception, or derived to represent a module-specific exception.