summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/chanserv.example.conf58
-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
16 files changed, 44 insertions, 179 deletions
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index 229ca1198..87d77b330 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -1090,49 +1090,49 @@ command { service = "ChanServ"; name = "SASET"; command = "chanserv/saset"; perm
/*
* cs_set_bantype
*
- * Provides the commands chanserv/set/bantype and chanserv/saset/bantype.
+ * Provides the command chanserv/set/bantype.
*
* Used for controlling what format bans are placed on channels.
*/
module { name = "cs_set_bantype" }
command { service = "ChanServ"; name = "SET BANTYPE"; command = "chanserv/set/bantype"; }
-command { service = "ChanServ"; name = "SASET BANTYPE"; command = "chanserv/saset/bantype"; permission = "chanserv/saset/bantype"; }
+command { service = "ChanServ"; name = "SASET BANTYPE"; command = "chanserv/set/bantype"; permission = "chanserv/saset/bantype"; }
/*
* cs_set_description
*
- * Provides the commands chanserv/set/description and chanserv/saset/description.
+ * Provides the command chanserv/set/description.
*
* Used for changing channels descriptions.
*/
module { name = "cs_set_description" }
command { service = "ChanServ"; name = "SET DESCRIPTION"; command = "chanserv/set/description"; }
command { service = "ChanServ"; name = "SET DESC"; command = "chanserv/set/description"; }
-command { service = "ChanServ"; name = "SASET DESCRIPTION"; command = "chanserv/saset/description"; permission = "chanserv/saset/description"; }
-command { service = "ChanServ"; name = "SASET DESC"; command = "chanserv/saset/description"; permission = "chanserv/saset/description"; }
+command { service = "ChanServ"; name = "SASET DESCRIPTION"; command = "chanserv/set/description"; permission = "chanserv/saset/description"; }
+command { service = "ChanServ"; name = "SASET DESC"; command = "chanserv/set/description"; permission = "chanserv/saset/description"; }
/*
* cs_set_founder
*
- * Provides the commands chanserv/set/founder and chanserv/saset/founder.
+ * Provides the command chanserv/set/founder.
*
* Used for changing channel founders.
*/
module { name = "cs_set_founder" }
command { service = "ChanServ"; name = "SET FOUNDER"; command = "chanserv/set/founder"; }
-command { service = "ChanServ"; name = "SASET FOUNDER"; command = "chanserv/saset/founder"; permission = "chanserv/saset/founder"; }
+command { service = "ChanServ"; name = "SASET FOUNDER"; command = "chanserv/set/founder"; permission = "chanserv/saset/founder"; }
/*
* cs_set_keeptopic
*
- * Provides the commands chanserv/set/keeptopic and chanserv/saset/keeptopic.
+ * Provides the command chanserv/set/keeptopic.
*
* Used for enabling keeptopic on channels, which causes ChanServ to restore the channel topic
* when a channel is created.
*/
module { name = "cs_set_keeptopic" }
command { service = "ChanServ"; name = "SET KEEPTOPIC"; command = "chanserv/set/keeptopic"; }
-command { service = "ChanServ"; name = "SASET KEEPTOPIC"; command = "chanserv/saset/keeptopic"; permission = "chanserv/saset/keeptopic"; }
+command { service = "ChanServ"; name = "SASET KEEPTOPIC"; command = "chanserv/set/keeptopic"; permission = "chanserv/saset/keeptopic"; }
/*
* cs_set_misc
@@ -1148,113 +1148,113 @@ command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc
/*
* cs_set_peace
*
- * Provides the commands chanserv/set/peace and chanserv/saset/peace.
+ * Provides the command chanserv/set/peace.
*
* Used for setting the peace option, which prevents users from kicking other users with
* higher level access than them.
*/
module { name = "cs_set_peace" }
command { service = "ChanServ"; name = "SET PEACE"; command = "chanserv/set/peace"; }
-command { service = "ChanServ"; name = "SASET PEACE"; command = "chanserv/saset/peace"; permission = "chanserv/saset/peace"; }
+command { service = "ChanServ"; name = "SASET PEACE"; command = "chanserv/set/peace"; permission = "chanserv/saset/peace"; }
/*
* cs_set_persist
*
- * Provides the commands chanserv/set/persist and chanserv/saset/persist.
+ * Provides the command chanserv/set/persist.
*
* Used for setting whether ChanServ should stay in channels after the last user leaves.
*/
module { name = "cs_set_persist" }
command { service = "ChanServ"; name = "SET PERSIST"; command = "chanserv/set/persist"; }
-command { service = "ChanServ"; name = "SASET PERSIST"; command = "chanserv/saset/persist"; permission = "chanserv/saset/persist"; }
+command { service = "ChanServ"; name = "SASET PERSIST"; command = "chanserv/set/persist"; permission = "chanserv/saset/persist"; }
/*
* cs_set_private
*
- * Provides the commands chanserv/set/private and chanserv/saset/private.
+ * Provides the command chanserv/set/private.
*
* Used for setting whether channels should show up in chanserv/list.
*/
module { name = "cs_set_private" }
command { service = "ChanServ"; name = "SET PRIVATE"; command = "chanserv/set/private"; }
-command { service = "ChanServ"; name = "SASET PRIVATE"; command = "chanserv/saset/private"; permission = "chanserv/saset/private"; }
+command { service = "ChanServ"; name = "SASET PRIVATE"; command = "chanserv/set/private"; permission = "chanserv/saset/private"; }
/*
* cs_set_restricted
*
- * Provides the commands chanserv/set/restricted and chanserv/saset/restricted.
+ * Provides the command chanserv/set/restricted.
*
* Used for setting whether users not on a channel's access list can join.
*/
module { name = "cs_set_restricted" }
command { service = "ChanServ"; name = "SET RESTRICTED"; command = "chanserv/set/restricted"; }
-command { service = "ChanServ"; name = "SASET RESTRICTED"; command = "chanserv/saset/restricted"; permission = "chanserv/saset/restricted"; }
+command { service = "ChanServ"; name = "SASET RESTRICTED"; command = "chanserv/set/restricted"; permission = "chanserv/saset/restricted"; }
/*
* cs_set_secure
*
- * Provides the commands chanserv/set/secure and chanserv/saset/secure.
+ * Provides the command chanserv/set/secure.
*
* Used for setting whether users who are recognized for accounts should have their access in channels.
*/
module { name = "cs_set_secure" }
command { service = "ChanServ"; name = "SET SECURE"; command = "chanserv/set/secure"; }
-command { service = "ChanServ"; name = "SASET SECURE"; command = "chanserv/saset/secure"; permission = "chanserv/saset/secure"; }
+command { service = "ChanServ"; name = "SASET SECURE"; command = "chanserv/set/secure"; permission = "chanserv/saset/secure"; }
/*
* cs_set_securefounder
*
- * Provides the commands chanserv/set/securefounder and chanserv/saset/securefounder.
+ * Provides the command chanserv/set/securefounder.
*
* Used for setting whether users with founder level access in channels have true founder or not.
*/
module { name = "cs_set_securefounder" }
command { service = "ChanServ"; name = "SET SECUREFOUNDER"; command = "chanserv/set/securefounder"; }
-command { service = "ChanServ"; name = "SASET SECUREFOUNDER"; command = "chanserv/saset/securefounder"; permission = "chanserv/saset/securefounder"; }
+command { service = "ChanServ"; name = "SASET SECUREFOUNDER"; command = "chanserv/set/securefounder"; permission = "chanserv/saset/securefounder"; }
/*
* cs_set_secureops
*
- * Provides the commands chanserv/set/secureops and chanserv/saset/secureops.
+ * Provides the command chanserv/set/secureops.
*
* Used for restricting who can have channel op privilege in a channel to those whom have access in the channel.
*/
module { name = "cs_set_secureops" }
command { service = "ChanServ"; name = "SET SECUREOPS"; command = "chanserv/set/secureops"; }
-command { service = "ChanServ"; name = "SASET SECUREOPS"; command = "chanserv/saset/secureops"; permission = "chanserv/saset/secureops"; }
+command { service = "ChanServ"; name = "SASET SECUREOPS"; command = "chanserv/set/secureops"; permission = "chanserv/saset/secureops"; }
/*
* cs_set_signkick
*
- * Provides the commands chanserv/set/signkick and chanserv/saset/signkick.
+ * Provides the command chanserv/set/signkick.
*
* Used for setting signkick, which appends the kicker's name to kicks sent through ChanServ.
*/
module { name = "cs_set_signkick" }
command { service = "ChanServ"; name = "SET SIGNKICK"; command = "chanserv/set/signkick"; }
-command { service = "ChanServ"; name = "SASET SIGNKICK"; command = "chanserv/saset/signkick"; permission = "chanserv/saset/signkick"; }
+command { service = "ChanServ"; name = "SASET SIGNKICK"; command = "chanserv/set/signkick"; permission = "chanserv/saset/signkick"; }
/*
* cs_set_successor
*
- * Provides the commands chanserv/set/successor and chanserv/saset/successor.
+ * Provides the command chanserv/set/successor.
*
* Used for setting channel successors, which become channel founders if the founders account expires.
*/
module { name = "cs_set_successor" }
command { service = "ChanServ"; name = "SET SUCCESSOR"; command = "chanserv/set/successor"; }
-command { service = "ChanServ"; name = "SASET SUCCESSOR"; command = "chanserv/saset/successor"; permission = "chanserv/saset/successor"; }
+command { service = "ChanServ"; name = "SASET SUCCESSOR"; command = "chanserv/set/successor"; permission = "chanserv/saset/successor"; }
/*
* cs_set_topiclock
*
- * Provides the commands chanserv/set/topiclock and chanserv/saset/topiclock.
+ * Provides the command chanserv/set/topiclock.
*
* Used for setting topiclock, which prevents channel topics from being modified.
*/
module { name = "cs_set_topiclock" }
command { service = "ChanServ"; name = "SET TOPICLOCK"; command = "chanserv/set/topiclock"; }
-command { service = "ChanServ"; name = "SASET TOPICLOCK"; command = "chanserv/saset/topiclock"; permission = "chanserv/saset/topiclock"; }
+command { service = "ChanServ"; name = "SASET TOPICLOCK"; command = "chanserv/set/topiclock"; permission = "chanserv/saset/topiclock"; }
/*
* cs_set_noexpire
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");