X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconfigreader.h;h=cc14120963d8ccf5e080ca6ebea78303b6d6820d;hb=94c248f9dac7b32189f45445896eeecd57ad1d36;hp=bdba0efc38592d3a92ff7fb1dbcf345c03846e28;hpb=8428bbb387d4b1195156f0ab5a676d17b69b8d5f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/configreader.h b/include/configreader.h index bdba0efc3..cc1412096 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -142,8 +142,6 @@ struct CommandLineConf /** Saved argv from startup */ char** argv; - - std::string startup_log; }; class CoreExport OperInfo : public refcountbase @@ -170,11 +168,6 @@ class CoreExport OperInfo : public refcountbase /** Get a configuration item, searching in the oper, type, and class blocks (in that order) */ std::string getConfig(const std::string& key); void init(); - - inline const char* NameStr() - { - return irc::Spacify(name.c_str()); - } }; /** This class holds the bulk of the runtime configuration for the ircd. @@ -494,7 +487,7 @@ class CoreExport ServerConfig /** Get server ID as string with required leading zeroes */ - const std::string& GetSID(); + const std::string& GetSID() const { return sid; } /** Read the entire configuration into memory * and initialize this class. All other methods