summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-09-07 22:27:28 -0400
committerAdam <Adam@anope.org>2012-09-07 22:27:28 -0400
commitc9c477ff9d7e6f833fafac2ef058f82b89229f60 (patch)
treed587b9bb1d6ff4e3b7624375bb1ff26312e07791 /modules
parent4eb7db80a630df8f6e57e6e64662138f96c0c904 (diff)
These saset command stubs can go away
Diffstat (limited to 'modules')
-rw-r--r--modules/commands/cs_set_bantype.cpp11
-rw-r--r--modules/commands/cs_set_description.cpp11
-rw-r--r--modules/commands/cs_set_founder.cpp11
-rw-r--r--modules/commands/cs_set_keeptopic.cpp11
-rw-r--r--modules/commands/cs_set_misc.cpp11
-rw-r--r--modules/commands/cs_set_peace.cpp11
-rw-r--r--modules/commands/cs_set_persist.cpp11
-rw-r--r--modules/commands/cs_set_private.cpp11
-rw-r--r--modules/commands/cs_set_restricted.cpp11
-rw-r--r--modules/commands/cs_set_secure.cpp11
-rw-r--r--modules/commands/cs_set_securefounder.cpp11
-rw-r--r--modules/commands/cs_set_secureops.cpp11
-rw-r--r--modules/commands/cs_set_signkick.cpp11
-rw-r--r--modules/commands/cs_set_successor.cpp11
-rw-r--r--modules/commands/cs_set_topiclock.cpp11
15 files changed, 15 insertions, 150 deletions
diff --git a/modules/commands/cs_set_bantype.cpp b/modules/commands/cs_set_bantype.cpp
index dc28e37f6..8335a0e83 100644
--- a/modules/commands/cs_set_bantype.cpp
+++ b/modules/commands/cs_set_bantype.cpp
@@ -70,22 +70,13 @@ class CommandCSSetBanType : public Command
}
};
-class CommandCSSASetBanType : public CommandCSSetBanType
-{
- public:
- CommandCSSASetBanType(Module *creator) : CommandCSSetBanType(creator, "chanserv/saset/bantype")
- {
- }
-};
-
class CSSetBanType : public Module
{
CommandCSSetBanType commandcssetbantype;
- CommandCSSASetBanType commandcssasetbantype;
public:
CSSetBanType(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetbantype(this), commandcssasetbantype(this)
+ commandcssetbantype(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_description.cpp b/modules/commands/cs_set_description.cpp
index 949f40694..5ada5e036 100644
--- a/modules/commands/cs_set_description.cpp
+++ b/modules/commands/cs_set_description.cpp
@@ -61,22 +61,13 @@ class CommandCSSetDescription : public Command
}
};
-class CommandCSSASetDescription : public CommandCSSetDescription
-{
- public:
- CommandCSSASetDescription(Module *creator) : CommandCSSetDescription(creator, "chanserv/saset/description")
- {
- }
-};
-
class CSSetDescription : public Module
{
CommandCSSetDescription commandcssetdescription;
- CommandCSSASetDescription commandcssasetdescription;
public:
CSSetDescription(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetdescription(this), commandcssasetdescription(this)
+ commandcssetdescription(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_founder.cpp b/modules/commands/cs_set_founder.cpp
index 037ec62ff..8c9b5ba0c 100644
--- a/modules/commands/cs_set_founder.cpp
+++ b/modules/commands/cs_set_founder.cpp
@@ -76,22 +76,13 @@ class CommandCSSetFounder : public Command
}
};
-class CommandCSSASetFounder : public CommandCSSetFounder
-{
- public:
- CommandCSSASetFounder(Module *creator) : CommandCSSetFounder(creator, "chanserv/saset/founder")
- {
- }
-};
-
class CSSetFounder : public Module
{
CommandCSSetFounder commandcssetfounder;
- CommandCSSASetFounder commandcssasetfounder;
public:
CSSetFounder(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetfounder(this), commandcssasetfounder(this)
+ commandcssetfounder(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_keeptopic.cpp b/modules/commands/cs_set_keeptopic.cpp
index e29c7727b..a3d746301 100644
--- a/modules/commands/cs_set_keeptopic.cpp
+++ b/modules/commands/cs_set_keeptopic.cpp
@@ -66,22 +66,13 @@ class CommandCSSetKeepTopic : public Command
}
};
-class CommandCSSASetKeepTopic : public CommandCSSetKeepTopic
-{
- public:
- CommandCSSASetKeepTopic(Module *creator) : CommandCSSetKeepTopic(creator, "chanserv/saset/keeptopic")
- {
- }
-};
-
class CSSetKeepTopic : public Module
{
CommandCSSetKeepTopic commandcssetkeeptopic;
- CommandCSSASetKeepTopic commandcssasetkeeptopic;
public:
CSSetKeepTopic(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetkeeptopic(this), commandcssasetkeeptopic(this)
+ commandcssetkeeptopic(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_misc.cpp b/modules/commands/cs_set_misc.cpp
index 1ad15f02f..9b8879bbd 100644
--- a/modules/commands/cs_set_misc.cpp
+++ b/modules/commands/cs_set_misc.cpp
@@ -105,23 +105,14 @@ class CommandCSSetMisc : public Command
}
};
-class CommandCSSASetMisc : public CommandCSSetMisc
-{
- public:
- CommandCSSASetMisc(Module *creator) : CommandCSSetMisc(creator, "chanserv/saset/misc")
- {
- }
-};
-
class CSSetMisc : public Module
{
SerializeType csmiscdata_type;
CommandCSSetMisc commandcssetmisc;
- CommandCSSASetMisc commandcssasetmisc;
public:
CSSetMisc(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- csmiscdata_type("CSMiscData", CSMiscData::unserialize), commandcssetmisc(this), commandcssasetmisc(this)
+ csmiscdata_type("CSMiscData", CSMiscData::unserialize), commandcssetmisc(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_peace.cpp b/modules/commands/cs_set_peace.cpp
index 49d105820..977c3a095 100644
--- a/modules/commands/cs_set_peace.cpp
+++ b/modules/commands/cs_set_peace.cpp
@@ -65,22 +65,13 @@ class CommandCSSetPeace : public Command
}
};
-class CommandCSSASetPeace : public CommandCSSetPeace
-{
- public:
- CommandCSSASetPeace(Module *creator) : CommandCSSetPeace(creator, "chanserv/saset/peace")
- {
- }
-};
-
class CSSetPeace : public Module
{
CommandCSSetPeace commandcssetpeace;
- CommandCSSASetPeace commandcssasetpeace;
public:
CSSetPeace(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetpeace(this), commandcssasetpeace(this)
+ commandcssetpeace(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_persist.cpp b/modules/commands/cs_set_persist.cpp
index fbca0994f..81b5611d8 100644
--- a/modules/commands/cs_set_persist.cpp
+++ b/modules/commands/cs_set_persist.cpp
@@ -152,22 +152,13 @@ class CommandCSSetPersist : public Command
}
};
-class CommandCSSASetPersist : public CommandCSSetPersist
-{
- public:
- CommandCSSASetPersist(Module *creator) : CommandCSSetPersist(creator, "chanserv/saset/persist")
- {
- }
-};
-
class CSSetPersist : public Module
{
CommandCSSetPersist commandcssetpeace;
- CommandCSSASetPersist commandcssasetpeace;
public:
CSSetPersist(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetpeace(this), commandcssasetpeace(this)
+ commandcssetpeace(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_private.cpp b/modules/commands/cs_set_private.cpp
index 53deb4d72..b912779ff 100644
--- a/modules/commands/cs_set_private.cpp
+++ b/modules/commands/cs_set_private.cpp
@@ -65,22 +65,13 @@ class CommandCSSetPrivate : public Command
}
};
-class CommandCSSASetPrivate : public CommandCSSetPrivate
-{
- public:
- CommandCSSASetPrivate(Module *creator) : CommandCSSetPrivate(creator, "chanserv/saset/private")
- {
- }
-};
-
class CSSetPrivate : public Module
{
CommandCSSetPrivate commandcssetprivate;
- CommandCSSASetPrivate commandcssasetprivate;
public:
CSSetPrivate(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetprivate(this), commandcssasetprivate(this)
+ commandcssetprivate(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_restricted.cpp b/modules/commands/cs_set_restricted.cpp
index fc48f32bc..736f29683 100644
--- a/modules/commands/cs_set_restricted.cpp
+++ b/modules/commands/cs_set_restricted.cpp
@@ -63,22 +63,13 @@ class CommandCSSetRestricted : public Command
}
};
-class CommandCSSASetRestricted : public CommandCSSetRestricted
-{
- public:
- CommandCSSASetRestricted(Module *creator) : CommandCSSetRestricted(creator, "chanserv/saset/restricted")
- {
- }
-};
-
class CSSetRestricted : public Module
{
CommandCSSetRestricted commandcssetrestricted;
- CommandCSSASetRestricted commandcssasetrestricted;
public:
CSSetRestricted(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetrestricted(this), commandcssasetrestricted(this)
+ commandcssetrestricted(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_secure.cpp b/modules/commands/cs_set_secure.cpp
index 49357d2c7..9a8f96939 100644
--- a/modules/commands/cs_set_secure.cpp
+++ b/modules/commands/cs_set_secure.cpp
@@ -66,22 +66,13 @@ class CommandCSSetSecure : public Command
}
};
-class CommandCSSASetSecure : public CommandCSSetSecure
-{
- public:
- CommandCSSASetSecure(Module *creator) : CommandCSSetSecure(creator, "chanserv/saset/secure")
- {
- }
-};
-
class CSSetSecure : public Module
{
CommandCSSetSecure commandcssetsecure;
- CommandCSSASetSecure commandcssasetsecure;
public:
CSSetSecure(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetsecure(this), commandcssasetsecure(this)
+ commandcssetsecure(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_securefounder.cpp b/modules/commands/cs_set_securefounder.cpp
index 2f58e9ee6..b1c6e5b52 100644
--- a/modules/commands/cs_set_securefounder.cpp
+++ b/modules/commands/cs_set_securefounder.cpp
@@ -67,22 +67,13 @@ class CommandCSSetSecureFounder : public Command
}
};
-class CommandCSSASetSecureFounder : public CommandCSSetSecureFounder
-{
- public:
- CommandCSSASetSecureFounder(Module *creator) : CommandCSSetSecureFounder(creator, "chanserv/saset/securefounder")
- {
- }
-};
-
class CSSetSecureFounder : public Module
{
CommandCSSetSecureFounder commandcssetsecurefounder;
- CommandCSSASetSecureFounder commandcssasetsecurefounder;
public:
CSSetSecureFounder(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetsecurefounder(this), commandcssasetsecurefounder(this)
+ commandcssetsecurefounder(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_secureops.cpp b/modules/commands/cs_set_secureops.cpp
index 760a73e6a..2ffca4b68 100644
--- a/modules/commands/cs_set_secureops.cpp
+++ b/modules/commands/cs_set_secureops.cpp
@@ -64,22 +64,13 @@ class CommandCSSetSecureOps : public Command
}
};
-class CommandCSSASetSecureOps : public CommandCSSetSecureOps
-{
- public:
- CommandCSSASetSecureOps(Module *creator) : CommandCSSetSecureOps(creator, "chanserv/saset/secureops")
- {
- }
-};
-
class CSSetSecureOps : public Module
{
CommandCSSetSecureOps commandcssetsecureops;
- CommandCSSASetSecureOps commandcssasetsecureops;
public:
CSSetSecureOps(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetsecureops(this), commandcssasetsecureops(this)
+ commandcssetsecureops(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_signkick.cpp b/modules/commands/cs_set_signkick.cpp
index 79da0fc2e..0ee322b24 100644
--- a/modules/commands/cs_set_signkick.cpp
+++ b/modules/commands/cs_set_signkick.cpp
@@ -76,22 +76,13 @@ class CommandCSSetSignKick : public Command
}
};
-class CommandCSSASetSignKick : public CommandCSSetSignKick
-{
- public:
- CommandCSSASetSignKick(Module *creator) : CommandCSSetSignKick(creator, "chanserv/saset/signkick")
- {
- }
-};
-
class CSSetSignKick : public Module
{
CommandCSSetSignKick commandcssetsignkick;
- CommandCSSASetSignKick commandcssasetsignkick;
public:
CSSetSignKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetsignkick(this), commandcssasetsignkick(this)
+ commandcssetsignkick(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_successor.cpp b/modules/commands/cs_set_successor.cpp
index 0d752b9d2..5d3da40f1 100644
--- a/modules/commands/cs_set_successor.cpp
+++ b/modules/commands/cs_set_successor.cpp
@@ -91,22 +91,13 @@ class CommandCSSetSuccessor : public Command
}
};
-class CommandCSSASetSuccessor : public CommandCSSetSuccessor
-{
- public:
- CommandCSSASetSuccessor(Module *creator) : CommandCSSetSuccessor(creator, "chanserv/saset/successor")
- {
- }
-};
-
class CSSetSuccessor : public Module
{
CommandCSSetSuccessor commandcssetsuccessor;
- CommandCSSASetSuccessor commandcssasetsuccessor;
public:
CSSetSuccessor(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssetsuccessor(this), commandcssasetsuccessor(this)
+ commandcssetsuccessor(this)
{
this->SetAuthor("Anope");
diff --git a/modules/commands/cs_set_topiclock.cpp b/modules/commands/cs_set_topiclock.cpp
index 730c473a4..80d016a8e 100644
--- a/modules/commands/cs_set_topiclock.cpp
+++ b/modules/commands/cs_set_topiclock.cpp
@@ -64,22 +64,13 @@ class CommandCSSetTopicLock : public Command
}
};
-class CommandCSSASetTopicLock : public CommandCSSetTopicLock
-{
- public:
- CommandCSSASetTopicLock(Module *creator) : CommandCSSetTopicLock(creator, "chanserv/saset/topiclock")
- {
- }
-};
-
class CSSetTopicLock : public Module
{
CommandCSSetTopicLock commandcssettopiclock;
- CommandCSSASetTopicLock commandcssasettopiclock;
public:
CSSetTopicLock(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- commandcssettopiclock(this), commandcssasettopiclock(this)
+ commandcssettopiclock(this)
{
this->SetAuthor("Anope");