diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 17:00:55 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 17:00:55 +0000 |
| commit | 1072827648ad8809d32f23f5835698ba36690305 (patch) | |
| tree | 3a1a3784790a71a9c7dd020bcfa55834478f00a8 /src | |
| parent | 21d89df8dd934b3d64ef9910de5ea2ab27a878ab (diff) | |
Move moduleAddCommand and moduleDelCommand to Module:: members.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1597 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
126 files changed, 248 insertions, 269 deletions
diff --git a/src/core/bs_act.c b/src/core/bs_act.c index 162d321ad..a5c8864da 100644 --- a/src/core/bs_act.c +++ b/src/core/bs_act.c @@ -29,7 +29,7 @@ class BSAct : public Module this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("ACT", do_act, NULL, BOT_HELP_ACT, -1, -1, -1, -1); - moduleAddCommand(BOTSERV, c, MOD_UNIQUE); + this->AddCommand(BOTSERV, c, MOD_UNIQUE); moduleSetBotHelp(myBotServHelp); } 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); } diff --git a/src/core/bs_badwords.c b/src/core/bs_badwords.c index c5b13e436..65190c286 100644 --- a/src/core/bs_badwords.c +++ b/src/core/bs_badwords.c @@ -33,7 +33,7 @@ class BSBadwords : public Module this->SetType(CORE); c = createCommand("BADWORDS", do_badwords, NULL, BOT_HELP_BADWORDS, -1, -1, -1, -1); - moduleAddCommand(BOTSERV, c, MOD_UNIQUE); + this->AddCommand(BOTSERV, c, MOD_UNIQUE); moduleSetBotHelp(myBotServHelp); } diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 3ec37f0a6..93dfc89da 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -30,7 +30,7 @@ class BSBot : public Module this->SetType(CORE); c = createCommand("BOT", do_bot, is_services_admin, -1, -1, -1, BOT_SERVADMIN_HELP_BOT, BOT_SERVADMIN_HELP_BOT); - moduleAddCommand(BOTSERV, c, MOD_UNIQUE); + this->AddCommand(BOTSERV, c, MOD_UNIQUE); moduleSetBotHelp(myBotServHelp); } diff --git a/src/core/bs_botlist.c b/src/core/bs_botlist.c index 51a65866c..7173a7807 100644 --- a/src/core/bs_botlist.c +++ b/src/core/bs_botlist.c @@ -29,7 +29,7 @@ class BSBotList : public Module this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("BOTLIST", do_botlist, NULL, BOT_HELP_BOTLIST, -1, -1, -1, -1); - moduleAddCommand(BOTSERV, c, MOD_UNIQUE); + this->AddCommand(BOTSERV, c, MOD_UNIQUE); moduleSetBotHelp(myBotServHelp); } diff --git a/src/core/bs_help.c b/src/core/bs_help.c index 2243cfbe1..3c807275c 100644 --- a/src/core/bs_help.c +++ b/src/core/bs_help.c @@ -28,7 +28,7 @@ class BSHelp : public Module this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("HELP", do_help, NULL, -1, -1, -1, -1, -1); - moduleAddCommand(BOTSERV, c, MOD_UNIQUE); + this->AddCommand(BOTSERV, c, MOD_UNIQUE); } }; diff --git a/src/core/bs_info.c b/src/core/bs_info.c index 3be046b0f..b72e6542e 100644 --- a/src/core/bs_info.c +++ b/src/core/bs_info.c @@ -30,7 +30,7 @@ class BSInfo : public Module this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("INFO", do_info, NULL, BOT_HELP_INFO, -1, -1, -1, -1); - moduleAddCommand(BOTSERV, c, MOD_UNIQUE); + this->AddCommand(BOTSERV, c, MOD_UNIQUE); moduleSetBotHelp(myBotServHelp); } diff --git a/src/core/bs_kick.c b/src/core/bs_kick.c index fcb76b4c6..fb48c9413 100644 --- a/src/core/bs_kick.c +++ b/src/core/bs_kick.c @@ -30,23 +30,23 @@ class BSKick : public Module this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("KICK", do_kickcmd, NULL, BOT_HELP_KICK, -1, -1, -1, -1); - moduleAddCommand(BOTSERV, c, MOD_UNIQUE); + this->AddCommand(BOTSERV, c, MOD_UNIQUE); c = createCommand("KICK BADWORDS", NULL, NULL, BOT_HELP_KICK_BADWORDS, -1, -1, -1, -1); - moduleAddCommand(BOTSERV, c, MOD_UNIQUE); + this->AddCommand(BOTSERV, c, MOD_UNIQUE); |
