From bb8e04c83588b6d0595eca463170643a3bd84285 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 24 Aug 2011 15:57:05 -0400 Subject: Added oper:host and oper:vhost --- include/opertype.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include') 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 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 -- cgit