class CoreExport SimpleChannelModeHandler : public ModeHandler
{
public:
- SimpleChannelModeHandler(InspIRCd* Instance, Module* Creator, char modeletter)
+ SimpleChannelModeHandler(Module* Creator, char modeletter)
: ModeHandler(Creator, modeletter, PARAM_NONE, MODETYPE_CHANNEL) {}
virtual ~SimpleChannelModeHandler() {}
virtual ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding);
class CoreExport ModeWatcher : public classbase
{
protected:
- /**
- * Creator/owner pointer
- */
- InspIRCd* ServerInstance;
/**
* The mode letter this class is watching
*/
/**
* The constructor initializes the mode and the mode type
*/
- ModeWatcher(InspIRCd* Instance, char modeletter, ModeType type);
+ ModeWatcher(char modeletter, ModeType type);
/**
* The default destructor does nothing.
*/
/** The constructor initializes all the RFC basic modes by using ModeParserAddMode().
*/
- ModeParser(InspIRCd* Instance);
+ ModeParser();
~ModeParser();
/** Used to check if user 'd' should be allowed to do operation 'MASK' on channel 'chan'.