#include "channels.h"
#include "modules.h"
#include "hashcomp.h"
-#include "helperfuncs.h"
+
#include "inspircd.h"
/* $ModDesc: Implements config tags which allow blocking of joins to channels */
{
private:
- Server *Srv;
+
ConfigReader *Conf;
public:
ModuleDenyChannels(InspIRCd* Me) : Module::Module(Me)
{
- Conf = new ConfigReader;
+ Conf = new ConfigReader(ServerInstance);
}
virtual void OnRehash(const std::string ¶m)
{
DELETE(Conf);
- Conf = new ConfigReader;
+ Conf = new ConfigReader(ServerInstance);
}
virtual ~ModuleDenyChannels()