From b0edff488a6d1de9fd709c665640501518529050 Mon Sep 17 00:00:00 2001 From: rburchell Date: Wed, 11 Feb 2009 00:28:07 +0000 Subject: [PATCH] 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 --- src/core/bs_set.c | 4 +--- 1 file changed, 1 insertion(+), 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 ¶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); }