summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-26 14:13:13 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-26 14:13:13 +0000
commit6d03943426dcce76ba66567a9b18425a5ebb4c0c (patch)
treebedffa6d2a65a9ef556405224a6d7a181c8a1ba5 /include/mode.h
parent810c662c9b55908101ca085293c52c3239ef22d1 (diff)
Remove InspIRCd* parameters and fields
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/mode.h b/include/mode.h
index c0cb5b0fc..e118a161b 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -348,7 +348,7 @@ class CoreExport SimpleUserModeHandler : public ModeHandler
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 &parameter, bool adding);
@@ -364,10 +364,6 @@ class CoreExport ModeWatcher : public classbase
{
protected:
/**
- * Creator/owner pointer
- */
- InspIRCd* ServerInstance;
- /**
* The mode letter this class is watching
*/
char mode;
@@ -380,7 +376,7 @@ class CoreExport ModeWatcher : public classbase
/**
* 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.
*/
@@ -474,7 +470,7 @@ class CoreExport ModeParser : public classbase
/** 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'.