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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/bs_assign.c b/src/core/bs_assign.c
index b28542141..7cb6e3887 100644
--- a/src/core/bs_assign.c
+++ b/src/core/bs_assign.c
@@ -29,7 +29,7 @@ class BSAssign : public Module
this->SetVersion("$Id$");
this->SetType(CORE);
c = createCommand("ASSIGN", do_assign, NULL, BOT_HELP_ASSIGN, -1, -1, -1, -1);
- moduleAddCommand(BOTSERV, c, MOD_UNIQUE);
+ this->AddCommand(BOTSERV, c, MOD_UNIQUE);
moduleSetBotHelp(myBotServHelp);
}