diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 03:05:31 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 03:05:31 +0000 |
| commit | 7fdd8d7872adb8ee810907d785de87f0686a6289 (patch) | |
| tree | 49d7b3ffe9cb44a19b25d827068a74c44e961bf8 /src | |
| parent | bac9e520ed706e7fcf37c26a8f31b3e8964efc71 (diff) | |
Moved moduleSet*Help() functions to Module::Set*Help().
Also corrected a few issues with tabs in the help lines for non-core modules caused from the space->tab conversion a while back.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1804 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
114 files changed, 259 insertions, 308 deletions
diff --git a/src/core/bs_act.c b/src/core/bs_act.c index 87cd3d21d..11ea82071 100644 --- a/src/core/bs_act.c +++ b/src/core/bs_act.c @@ -31,7 +31,7 @@ class BSAct : public Module c = createCommand("ACT", do_act, NULL, BOT_HELP_ACT, -1, -1, -1, -1); this->AddCommand(BOTSERV, c, MOD_UNIQUE); - moduleSetBotHelp(myBotServHelp); + this->SetBotHelp(myBotServHelp); } }; diff --git a/src/core/bs_assign.c b/src/core/bs_assign.c index 030a3c215..e94e7d0b3 100644 --- a/src/core/bs_assign.c +++ b/src/core/bs_assign.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ @@ -31,7 +31,7 @@ class BSAssign : public Module c = createCommand("ASSIGN", do_assign, NULL, BOT_HELP_ASSIGN, -1, -1, -1, -1); this->AddCommand(BOTSERV, c, MOD_UNIQUE); - moduleSetBotHelp(myBotServHelp); + this->SetBotHelp(myBotServHelp); } }; diff --git a/src/core/bs_badwords.c b/src/core/bs_badwords.c index 3fce1698e..13f6d19c7 100644 --- a/src/core/bs_badwords.c +++ b/src/core/bs_badwords.c @@ -35,7 +35,7 @@ class BSBadwords : public Module c = createCommand("BADWORDS", do_badwords, NULL, BOT_HELP_BADWORDS, -1, -1, -1, -1); this->AddCommand(BOTSERV, c, MOD_UNIQUE); - moduleSetBotHelp(myBotServHelp); + this->SetBotHelp(myBotServHelp); } }; diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 77e1f712e..2d0b5387b 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -32,7 +32,7 @@ class BSBot : public Module c = createCommand("BOT", do_bot, is_services_admin, -1, -1, -1, BOT_SERVADMIN_HELP_BOT, BOT_SERVADMIN_HELP_BOT); this->AddCommand(BOTSERV, c, MOD_UNIQUE); - moduleSetBotHelp(myBotServHelp); + this->SetBotHelp(myBotServHelp); } }; diff --git a/src/core/bs_botlist.c b/src/core/bs_botlist.c index 75cbe1a90..f1c50c906 100644 --- a/src/core/bs_botlist.c +++ b/src/core/bs_botlist.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ @@ -31,7 +31,7 @@ class BSBotList : public Module c = createCommand("BOTLIST", do_botlist, NULL, BOT_HELP_BOTLIST, -1, -1, -1, -1); this->AddCommand(BOTSERV, c, MOD_UNIQUE); - moduleSetBotHelp(myBotServHelp); + this->SetBotHelp(myBotServHelp); } }; diff --git a/src/core/bs_info.c b/src/core/bs_info.c index d3590f624..9cc5bed67 100644 --- a/src/core/bs_info.c +++ b/src/core/bs_info.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ @@ -32,7 +32,7 @@ class BSInfo : public Module c = createCommand("INFO", do_info, NULL, BOT_HELP_INFO, -1, -1, -1, -1); this->AddCommand(BOTSERV, c, MOD_UNIQUE); - moduleSetBotHelp(myBotServHelp); + this->SetBotHelp(myBotServHelp); } }; diff --git a/src/core/bs_kick.c b/src/core/bs_kick.c index 55d230710..52d1caad1 100644 --- a/src/core/bs_kick.c +++ b/src/core/bs_kick.c @@ -48,7 +48,7 @@ class BSKick : public Module c = createCommand("KICK UNDERLINES", NULL, NULL, BOT_HELP_KICK_UNDERLINES, -1, -1, -1, -1); this->AddCommand(BOTSERV, c, MOD_UNIQUE); - moduleSetBotHelp(myBotServHelp); + this->SetBotHelp(myBotServHelp); } }; diff --git a/src/core/bs_say.c b/src/core/bs_say.c index a4f778257..51d654b16 100644 --- a/src/core/bs_say.c +++ b/src/core/bs_say.c @@ -31,7 +31,7 @@ class BSSay : public Module c = createCommand("SAY", do_say, NULL, BOT_HELP_SAY, -1, -1, -1, -1); this->AddCommand(BOTSERV, c, MOD_UNIQUE); - moduleSetBotHelp(myBotServHelp); + this->SetBotHelp(myBotServHelp); } }; diff --git a/src/core/bs_set.c b/src/core/bs_set.c index 4efa9740c..fa0eb3d70 100644 --- a/src/core/bs_set.c +++ b/src/core/bs_set.c @@ -49,7 +49,7 @@ class BSSet : public Module BOT_SERVADMIN_HELP_SET_PRIVATE); this->AddCommand(BOTSERV, c, MOD_UNIQUE); - moduleSetBotHelp(myBotServHelp); + this->SetBotHelp(myBotServHelp); } }; diff --git a/src/core/bs_unassign.c b/src/core/bs_unassign.c index 984026c7b..47b2a4ad2 100644 --- a/src/core/bs_unassign.c +++ b/src/core/bs_unassign.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ @@ -31,7 +31,7 @@ class BSUnassign : public Module c = createCommand("UNASSIGN", do_unassign, NULL, BOT_HELP_UNASSIGN, -1, -1, -1, -1); this->AddCommand(BOTSERV, c, MOD_UNIQUE); |
