diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-23 20:43:35 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-23 20:43:35 +0000 |
commit | 743c10e4ca5acd45e670b335a07b5bf3ab754ab6 (patch) | |
tree | b71daa8b64cbbcdaba191afd9709dd896be12a6b /include/configreader.h | |
parent | 68730d4c9701b34c962302e6410908865fb2ba28 (diff) |
Add ability to control what opertypes can set what operonly user/chan modes. This works the same way as commands, in that modes allowed by classes are added together, and * allows all.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9176 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/configreader.h')
-rw-r--r-- | include/configreader.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h index 3120d3d59..b94687b43 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -203,9 +203,16 @@ struct MultiConfig */ typedef std::map<irc::string,char*> opertype_t; +struct operclass_data +{ + char* commandlist; + char* cmodelist; + char* umodelist; +}; + /** A Set of oper classes */ -typedef std::map<irc::string,char*> operclass_t; +typedef std::map<irc::string, operclass_data> operclass_t; /** This class holds the bulk of the runtime configuration for the ircd. |