]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd.h
ENCAP removal for supported protocol 1201 commands
[user/henk/code/inspircd.git] / include / inspircd.h
index 72e49c09ac493d3507e22374ed626ca8c729796a..a5e40102a45e3ad62f276ef805d2830c402eaffc 100644 (file)
@@ -293,13 +293,12 @@ class BanCacheManager;
  */
 class CoreExport ConfigReaderThread : public Thread
 {
-       InspIRCd* ServerInstance;
        ServerConfig* Config;
        bool done;
  public:
        std::string TheUserUID;
-       ConfigReaderThread(InspIRCd* Instance, const std::string &useruid)
-               : Thread(), ServerInstance(Instance), done(false), TheUserUID(useruid)
+       ConfigReaderThread(const std::string &useruid)
+               : Thread(), done(false), TheUserUID(useruid)
        {
        }
 
@@ -432,7 +431,7 @@ class CoreExport InspIRCd : public classbase
 
        /** Config file pathname specified on the commandline or via ./configure
         */
-       char ConfigFileName[MAXBUF];
+       std::string ConfigFileName;
 
        /** Mode handler, handles mode setting and removal
         */
@@ -927,7 +926,7 @@ class CommandModule : public Module
 {
        Cmd cmd;
  public:
-       CommandModule(InspIRCd*) : cmd(this)
+       CommandModule() : cmd(this)
        {
                ServerInstance->AddCommand(&cmd);
        }