diff options
author | Adam <Adam@anope.org> | 2012-11-22 00:50:33 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-11-22 00:50:33 -0500 |
commit | d33a0f75a5c0c584fbb7cc0076da36d494f39494 (patch) | |
tree | 7b2274cc833c793c0f5595660cbd4d715de52ffd /include/opertype.h | |
parent | 368d469631763e9c8bf399980d0ac7c5b5664d39 (diff) |
Pretty large coding style cleanup, in source doc
cleanup, and allow protocol mods to depend on each
other
Diffstat (limited to 'include/opertype.h')
-rw-r--r-- | include/opertype.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/opertype.h b/include/opertype.h index 4e3f01e28..ccba85141 100644 --- a/include/opertype.h +++ b/include/opertype.h @@ -3,6 +3,7 @@ * Copyright (C) 2008-2012 Anope Team <team@anope.org> * * Please read COPYING and README for further details. + * */ #ifndef OPERTYPE_H @@ -11,15 +12,22 @@ #include "services.h" #include "account.h" +/* A services operator. Usually made by the configuration file, but not always. + * NickAlias::Find(name)->nc->o == this + */ struct CoreExport Oper { + /* The oper's nick */ Anope::string name; + /* The type of operator this operator is */ OperType *ot; + /* Whether the user must be an IRC operator (umode +o) to be considered a services operator */ bool require_oper; Anope::string password; Anope::string certfp; + /* True if this operator is set in the config */ bool config; - + /* Hosts allowed to use this operator block */ std::vector<Anope::string> hosts; Anope::string vhost; |