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:
+3
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user