summaryrefslogtreecommitdiff
path: root/include/modes
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/modes
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/modes')
-rw-r--r--include/modes/cmode_b.h2
-rw-r--r--include/modes/cmode_h.h2
-rw-r--r--include/modes/cmode_i.h2
-rw-r--r--include/modes/cmode_k.h2
-rw-r--r--include/modes/cmode_l.h2
-rw-r--r--include/modes/cmode_m.h2
-rw-r--r--include/modes/cmode_n.h2
-rw-r--r--include/modes/cmode_o.h2
-rw-r--r--include/modes/cmode_p.h2
-rw-r--r--include/modes/cmode_s.h2
-rw-r--r--include/modes/cmode_t.h2
-rw-r--r--include/modes/cmode_v.h2
-rw-r--r--include/modes/umode_i.h2
-rw-r--r--include/modes/umode_o.h2
-rw-r--r--include/modes/umode_s.h2
-rw-r--r--include/modes/umode_w.h2
16 files changed, 16 insertions, 16 deletions
diff --git a/include/modes/cmode_b.h b/include/modes/cmode_b.h
index 3e4683840..0fdbaee3b 100644
--- a/include/modes/cmode_b.h
+++ b/include/modes/cmode_b.h
@@ -23,7 +23,7 @@ class ModeChannelBan : public ModeHandler
private:
BanItem b;
public:
- ModeChannelBan(InspIRCd* Instance);
+ ModeChannelBan();
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
std::string& AddBan(User *user,std::string& dest,Channel *chan,int status);
std::string& DelBan(User *user,std::string& dest,Channel *chan,int status);
diff --git a/include/modes/cmode_h.h b/include/modes/cmode_h.h
index dd188626c..aea56ba32 100644
--- a/include/modes/cmode_h.h
+++ b/include/modes/cmode_h.h
@@ -22,7 +22,7 @@ class ModeChannelHalfOp : public ModeHandler
{
private:
public:
- ModeChannelHalfOp(InspIRCd* Instance);
+ ModeChannelHalfOp();
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
unsigned int GetPrefixRank();
diff --git a/include/modes/cmode_i.h b/include/modes/cmode_i.h
index 486ee0e1a..74495869a 100644
--- a/include/modes/cmode_i.h
+++ b/include/modes/cmode_i.h
@@ -20,6 +20,6 @@ class InspIRCd;
class ModeChannelInviteOnly : public SimpleChannelModeHandler
{
public:
- ModeChannelInviteOnly(InspIRCd* Instance);
+ ModeChannelInviteOnly();
};
diff --git a/include/modes/cmode_k.h b/include/modes/cmode_k.h
index a84adff5f..bb3597923 100644
--- a/include/modes/cmode_k.h
+++ b/include/modes/cmode_k.h
@@ -20,7 +20,7 @@ class InspIRCd;
class ModeChannelKey : public ModeHandler
{
public:
- ModeChannelKey(InspIRCd* Instance);
+ ModeChannelKey();
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
void RemoveMode(Channel* channel, irc::modestacker* stack = NULL);
diff --git a/include/modes/cmode_l.h b/include/modes/cmode_l.h
index a2f1030a2..94313ec52 100644
--- a/include/modes/cmode_l.h
+++ b/include/modes/cmode_l.h
@@ -20,7 +20,7 @@ class InspIRCd;
class ModeChannelLimit : public ModeHandler
{
public:
- ModeChannelLimit(InspIRCd* Instance);
+ ModeChannelLimit();
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
bool CheckTimeStamp(std::string &their_param, const std::string &our_param, Channel* channel);
diff --git a/include/modes/cmode_m.h b/include/modes/cmode_m.h
index 6435b833b..c36e28355 100644
--- a/include/modes/cmode_m.h
+++ b/include/modes/cmode_m.h
@@ -20,5 +20,5 @@ class InspIRCd;
class ModeChannelModerated : public SimpleChannelModeHandler
{
public:
- ModeChannelModerated(InspIRCd* Instance);
+ ModeChannelModerated();
};
diff --git a/include/modes/cmode_n.h b/include/modes/cmode_n.h
index 20a0631fc..70ccfdf9a 100644
--- a/include/modes/cmode_n.h
+++ b/include/modes/cmode_n.h
@@ -20,5 +20,5 @@ class InspIRCd;
class ModeChannelNoExternal : public SimpleChannelModeHandler
{
public:
- ModeChannelNoExternal(InspIRCd* Instance);
+ ModeChannelNoExternal();
};
diff --git a/include/modes/cmode_o.h b/include/modes/cmode_o.h
index 60772eb5f..524d254ee 100644
--- a/include/modes/cmode_o.h
+++ b/include/modes/cmode_o.h
@@ -22,7 +22,7 @@ class ModeChannelOp : public ModeHandler
{
private:
public:
- ModeChannelOp(InspIRCd* Instance);
+ ModeChannelOp();
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
unsigned int GetPrefixRank();
diff --git a/include/modes/cmode_p.h b/include/modes/cmode_p.h
index c00a9f1d3..64a4c0b3f 100644
--- a/include/modes/cmode_p.h
+++ b/include/modes/cmode_p.h
@@ -20,5 +20,5 @@ class InspIRCd;
class ModeChannelPrivate : public SimpleChannelModeHandler
{
public:
- ModeChannelPrivate(InspIRCd* Instance);
+ ModeChannelPrivate();
};
diff --git a/include/modes/cmode_s.h b/include/modes/cmode_s.h
index 7d428c9a9..2f0337127 100644
--- a/include/modes/cmode_s.h
+++ b/include/modes/cmode_s.h
@@ -20,5 +20,5 @@ class InspIRCd;
class ModeChannelSecret : public SimpleChannelModeHandler
{
public:
- ModeChannelSecret(InspIRCd* Instance);
+ ModeChannelSecret();
};
diff --git a/include/modes/cmode_t.h b/include/modes/cmode_t.h
index b7f87e614..6d0ce4777 100644
--- a/include/modes/cmode_t.h
+++ b/include/modes/cmode_t.h
@@ -20,6 +20,6 @@ class InspIRCd;
class ModeChannelTopicOps : public ModeHandler
{
public:
- ModeChannelTopicOps(InspIRCd* Instance);
+ ModeChannelTopicOps();
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
};
diff --git a/include/modes/cmode_v.h b/include/modes/cmode_v.h
index 26304d64d..77e8562f2 100644
--- a/include/modes/cmode_v.h
+++ b/include/modes/cmode_v.h
@@ -22,7 +22,7 @@ class ModeChannelVoice : public ModeHandler
{
private:
public:
- ModeChannelVoice(InspIRCd* Instance);
+ ModeChannelVoice();
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
unsigned int GetPrefixRank();
diff --git a/include/modes/umode_i.h b/include/modes/umode_i.h
index 864547d51..58ec2d4ca 100644
--- a/include/modes/umode_i.h
+++ b/include/modes/umode_i.h
@@ -20,6 +20,6 @@ class InspIRCd;
class ModeUserInvisible : public SimpleUserModeHandler
{
public:
- ModeUserInvisible(InspIRCd* Instance);
+ ModeUserInvisible();
unsigned int GetCount();
};
diff --git a/include/modes/umode_o.h b/include/modes/umode_o.h
index 9a3439ba7..a58c55670 100644
--- a/include/modes/umode_o.h
+++ b/include/modes/umode_o.h
@@ -20,7 +20,7 @@ class InspIRCd;
class ModeUserOperator : public ModeHandler
{
public:
- ModeUserOperator(InspIRCd* Instance);
+ ModeUserOperator();
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
unsigned int GetCount();
};
diff --git a/include/modes/umode_s.h b/include/modes/umode_s.h
index ac85050f8..d36c46deb 100644
--- a/include/modes/umode_s.h
+++ b/include/modes/umode_s.h
@@ -20,7 +20,7 @@ class InspIRCd;
class ModeUserServerNoticeMask : public ModeHandler
{
public:
- ModeUserServerNoticeMask(InspIRCd* Instance);
+ ModeUserServerNoticeMask();
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
void OnParameterMissing(User* user, User* dest, Channel* channel);
std::string GetUserParameter(User* user);
diff --git a/include/modes/umode_w.h b/include/modes/umode_w.h
index 566753ba0..ddda3db83 100644
--- a/include/modes/umode_w.h
+++ b/include/modes/umode_w.h
@@ -20,6 +20,6 @@ class InspIRCd;
class ModeUserWallops : public SimpleUserModeHandler
{
public:
- ModeUserWallops(InspIRCd* Instance);
+ ModeUserWallops();
unsigned int GetCount();
};