X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconfigreader.h;h=9fcb9c6a333f72a12fed7dfc08a1201c91092c53;hb=7f7ffef3b4d5dc6242918a48713d6fab96928a80;hp=001d4a92a5678387bf6d31f792d53e3075bd1de6;hpb=aac644de3da4fe76dc912f6c8ef451c2dc75509c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/configreader.h b/include/configreader.h index 001d4a92a..9fcb9c6a3 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -184,6 +184,11 @@ class CoreExport OperInfo : public refcountbase /** Name of the oper type; i.e. the one shown in WHOIS */ std::string name; + /** Creates a new OperInfo with the specified oper type name. + * @param Name The name of the oper type. + */ + OperInfo(const std::string& Name); + /** Get a configuration item, searching in the oper, type, and class blocks (in that order) */ std::string getConfig(const std::string& key); void init();