diff options
author | Adam <Adam@anope.org> | 2011-08-24 15:57:05 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-10 01:58:35 -0400 |
commit | bb8e04c83588b6d0595eca463170643a3bd84285 (patch) | |
tree | 31f3949cdb3f1f7236f0e02e56027ee35932f0d7 /include/opertype.h | |
parent | b504791bad450dfc9d28faa8b2009f8eaef0f485 (diff) |
Added oper:host and oper:vhost
Diffstat (limited to 'include/opertype.h')
-rw-r--r-- | include/opertype.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/opertype.h b/include/opertype.h index ca2d81ac5..3f40df7e7 100644 --- a/include/opertype.h +++ b/include/opertype.h @@ -15,13 +15,15 @@ class OperType; struct CoreExport Oper { Anope::string name; + OperType *ot; Anope::string password; Anope::string certfp; - OperType *ot; bool config; - Oper(const Anope::string &n, const Anope::string &p, const Anope::string &c, OperType *o) : - name(n), password(p), certfp(c), ot(o), config(false) { } + std::vector<Anope::string> hosts; + Anope::string vhost; + + Oper(const Anope::string &n, OperType *o) : name(n), ot(o) { } /** Find an oper block by name * @param name The name |