summaryrefslogtreecommitdiff
path: root/src/core/bs_assign.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bs_assign.c')
-rw-r--r--src/core/bs_assign.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/core/bs_assign.c b/src/core/bs_assign.c
index f4b891820..913e68224 100644
--- a/src/core/bs_assign.c
+++ b/src/core/bs_assign.c
@@ -15,8 +15,6 @@
#include "module.h"
-void myBotServHelp(User * u);
-
class CommandBSAssign : public Command
{
public:
@@ -93,18 +91,11 @@ class BSAssign : public Module
this->SetVersion("$Id$");
this->SetType(CORE);
this->AddCommand(BOTSERV, new CommandBSAssign, MOD_UNIQUE);
-
- this->SetBotHelp(myBotServHelp);
+ }
+ void BotServHelp(User *u)
+ {
+ notice_lang(s_BotServ, u, BOT_HELP_CMD_ASSIGN);
}
};
-/**
- * Add the help response to Anopes /bs help output.
- * @param u The user who is requesting help
- **/
-void myBotServHelp(User * u)
-{
- notice_lang(s_BotServ, u, BOT_HELP_CMD_ASSIGN);
-}
-
MODULE_INIT("bs_assign", BSAssign)