1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 06:36:38 +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 CommandCSBan : public Command
{
public:
CommandCSBan(const Anope::string &cname) : Command(cname, 2, 3)
CommandCSBan(const Anope::string &cname) : Command("BAN", 2, 3)
{
}
@@ -96,16 +96,15 @@ class CommandCSBan : public Command
class CSBan : public Module
{
CommandCSBan commandcsban, commandcskb;
CommandCSBan commandcsban;
public:
CSBan(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator), commandcsban("BAN"), commandcskb("KB")
CSBan(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator), commandcsban("BAN")
{
this->SetAuthor("Anope");
this->SetType(CORE);
this->AddCommand(ChanServ, &commandcsban);
this->AddCommand(ChanServ, &commandcskb);
}
};