diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-11 00:28:07 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-11 00:28:07 +0000 |
commit | b0edff488a6d1de9fd709c665640501518529050 (patch) | |
tree | d6e4c2d7fde514979e5841a5f7d8fa253ad4f6fb /src | |
parent | 0a5ae7e6d83443c5ae5d38c668c9b329bf9fe199 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/core/bs_set.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/bs_set.c b/src/core/bs_set.c index 73086646d..8c48e0a7d 100644 --- a/src/core/bs_set.c +++ b/src/core/bs_set.c @@ -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); } |