summaryrefslogtreecommitdiff
path: root/include/snomasks.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/snomasks.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/snomasks.h')
-rw-r--r--include/snomasks.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/snomasks.h b/include/snomasks.h
index c35fc92b7..dddde1ff9 100644
--- a/include/snomasks.h
+++ b/include/snomasks.h
@@ -16,9 +16,6 @@
class Snomask : public Extensible
{
- private:
- InspIRCd *ServerInstance;
-
public:
char MySnomask;
std::string Description;
@@ -28,7 +25,7 @@ class Snomask : public Extensible
/** Create a new Snomask
*/
- Snomask(InspIRCd* Instance, char snomask, const std::string &description) : ServerInstance(Instance), MySnomask(snomask), Description(description), LastMessage(""), Count(0)
+ Snomask(char snomask, const std::string &description) : MySnomask(snomask), Description(description), LastMessage(""), Count(0)
{
}
@@ -52,10 +49,6 @@ typedef std::map<char, Snomask *> SnoList;
class CoreExport SnomaskManager
{
private:
- /** Creator/owner
- */
- InspIRCd* ServerInstance;
-
/** Currently active snomask list
*/
SnoList SnoMasks;
@@ -66,7 +59,7 @@ class CoreExport SnomaskManager
public:
/** Create a new SnomaskManager
*/
- SnomaskManager(InspIRCd* Instance);
+ SnomaskManager();
/** Delete SnomaskManager
*/