diff options
Diffstat (limited to 'include/configreader.h')
-rw-r--r-- | include/configreader.h | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |