summaryrefslogtreecommitdiff
path: root/include/opertype.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-22 00:50:33 -0500
committerAdam <Adam@anope.org>2012-11-22 00:50:33 -0500
commitd33a0f75a5c0c584fbb7cc0076da36d494f39494 (patch)
tree7b2274cc833c793c0f5595660cbd4d715de52ffd /include/opertype.h
parent368d469631763e9c8bf399980d0ac7c5b5664d39 (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.h10
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;