mirror of
https://github.com/anope/anope.git
synced 2026-06-17 22:44:47 +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:
|
||||
CommandBSSet() : Command("SET", 3, 3)
|
||||
{
|
||||
this->help_param1 = s_ChanServ;
|
||||
}
|
||||
|
||||
CommandReturn Execute(User *u, std::vector<std::string> ¶ms)
|
||||
@@ -179,13 +180,10 @@ class BSSet : public Module
|
||||
public:
|
||||
BSSet(const std::string &modname, const std::string &creator) : Module(modname, creator)
|
||||
{
|
||||
Command *c;
|
||||
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSSet(), MOD_UNIQUE);
|
||||
c->help_param1 = s_ChanServ;
|
||||
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user