summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 4c3aba95b..a5e40102a 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -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)
{
}
@@ -927,7 +926,7 @@ class CommandModule : public Module
{
Cmd cmd;
public:
- CommandModule(InspIRCd*) : cmd(this)
+ CommandModule() : cmd(this)
{
ServerInstance->AddCommand(&cmd);
}