mirror of
https://github.com/anope/anope.git
synced 2026-07-04 18:13:13 +02:00
Fix crash loading bs_set on 1.9.1.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2006 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+1
-3
@@ -22,6 +22,7 @@ class CommandBSSet : public Command
|
|||||||
public:
|
public:
|
||||||
CommandBSSet() : Command("SET", 3, 3)
|
CommandBSSet() : Command("SET", 3, 3)
|
||||||
{
|
{
|
||||||
|
this->help_param1 = s_ChanServ;
|
||||||
}
|
}
|
||||||
|
|
||||||
CommandReturn Execute(User *u, std::vector<std::string> ¶ms)
|
CommandReturn Execute(User *u, std::vector<std::string> ¶ms)
|
||||||
@@ -179,13 +180,10 @@ class BSSet : public Module
|
|||||||
public:
|
public:
|
||||||
BSSet(const std::string &modname, const std::string &creator) : Module(modname, creator)
|
BSSet(const std::string &modname, const std::string &creator) : Module(modname, creator)
|
||||||
{
|
{
|
||||||
Command *c;
|
|
||||||
|
|
||||||
this->SetAuthor("Anope");
|
this->SetAuthor("Anope");
|
||||||
this->SetVersion("$Id$");
|
this->SetVersion("$Id$");
|
||||||
this->SetType(CORE);
|
this->SetType(CORE);
|
||||||
this->AddCommand(BOTSERV, new CommandBSSet(), MOD_UNIQUE);
|
this->AddCommand(BOTSERV, new CommandBSSet(), MOD_UNIQUE);
|
||||||
c->help_param1 = s_ChanServ;
|
|
||||||
|
|
||||||
this->SetBotHelp(myBotServHelp);
|
this->SetBotHelp(myBotServHelp);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user