1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 06:43:13 +02:00

Added a KB alias to ban to allow the !kb fantasy trigger

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2704 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
robbeh
2009-12-15 21:29:48 +00:00
parent 3beac16030
commit f1c975c89f
+3 -2
View File
@@ -18,7 +18,7 @@
class CommandCSBan : public Command
{
public:
CommandCSBan() : Command("BAN", 2, 3)
CommandCSBan(const std::string &cname) : Command(cname, 2, 3)
{
}
@@ -162,7 +162,8 @@ class CSBan : public Module
this->SetAuthor("Anope");
this->SetVersion("$Id$");
this->SetType(CORE);
this->AddCommand(CHANSERV, new CommandCSBan());
this->AddCommand(CHANSERV, new CommandCSBan("BAN"));
this->AddCommand(CHANSERV, new CommandCSBan("KB"));
this->AddCommand(CHANSERV, new CommandCSUnban());
ModuleManager::Attach(I_OnChanServHelp, this);