1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 16:16:39 +02:00

Added command aliases

This commit is contained in:
Adam
2010-11-14 15:12:32 -05:00
parent c792c7f62d
commit 3c9d4e9daf
16 changed files with 186 additions and 64 deletions
+3 -4
View File
@@ -16,7 +16,7 @@
class CommandCSKick : public Command
{
public:
CommandCSKick(const Anope::string &cname) : Command(cname, 2, 3)
CommandCSKick() : Command("KICK", 2, 3)
{
}
@@ -82,16 +82,15 @@ class CommandCSKick : public Command
class CSKick : public Module
{
CommandCSKick commandcskick, commandcsk;
CommandCSKick commandcskick;
public:
CSKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator), commandcskick("KICK"), commandcsk("K")
CSKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
this->AddCommand(ChanServ, &commandcskick);
this->AddCommand(ChanServ, &commandcsk);
}
};