diff options
author | Adam <Adam@anope.org> | 2010-11-14 15:12:32 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:33:58 -0500 |
commit | 3c9d4e9dafdd0918a3539e545cc99646e604757d (patch) | |
tree | 5206bf59ad26698932ca0119b2c04a5f70c88946 /modules/core/cs_kick.cpp | |
parent | c792c7f62df41c48d0d813a809e5415cbefa38b2 (diff) |
Added command aliases
Diffstat (limited to 'modules/core/cs_kick.cpp')
-rw-r--r-- | modules/core/cs_kick.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/core/cs_kick.cpp b/modules/core/cs_kick.cpp index 66c7c84db..43f3dda80 100644 --- a/modules/core/cs_kick.cpp +++ b/modules/core/cs_kick.cpp @@ -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); } }; |