1
0
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:
rburchell
2009-02-11 00:28:07 +00:00
parent 0a5ae7e6d8
commit b0edff488a
+1 -3
View File
@@ -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> &params)
@@ -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);
}