diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 00:34:29 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 00:34:29 +0000 |
| commit | d18d3f094cddedc6e6363f616eedb909eb02016a (patch) | |
| tree | 0fafab8f507646bd3a5d6d49e525bda7d4ac64ed /src/core | |
| parent | b8c04482bbbe531e48bb1328d17db8acb1e323a0 (diff) | |
Convert moduleSetType() to not require a module pointer.. actually, this is probably the wrong way to go about this (we should use a member func),
but who cares for now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1580 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
125 files changed, 125 insertions, 125 deletions
diff --git a/src/core/bs_act.c b/src/core/bs_act.c index a253d61a8..2257c851c 100644 --- a/src/core/bs_act.c +++ b/src/core/bs_act.c @@ -27,7 +27,7 @@ class BSAct : public Module moduleAddAuthor("Anope"); moduleAddVersion("$Id$"); - moduleSetType(CORE); + moduleSetType(this, CORE); c = createCommand("ACT", do_act, NULL, BOT_HELP_ACT, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_assign.c b/src/core/bs_assign.c index 9eaf73018..40f3c2aba 100644 --- a/src/core/bs_assign.c +++ b/src/core/bs_assign.c @@ -27,7 +27,7 @@ class BSAssign : public Module moduleAddAuthor("Anope"); moduleAddVersion("$Id$"); - moduleSetType(CORE); + moduleSetType(this, CORE); c = createCommand("ASSIGN", do_assign, NULL, BOT_HELP_ASSIGN, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_badwords.c b/src/core/bs_badwords.c index e5102b05c..575a024dc 100644 --- a/src/core/bs_badwords.c +++ b/src/core/bs_badwords.c @@ -30,7 +30,7 @@ class BSBadwords : public Module moduleAddAuthor("Anope"); moduleAddVersion("$Id$"); - moduleSetType(CORE); + moduleSetType(this, CORE); c = createCommand("BADWORDS", do_badwords, NULL, BOT_HELP_BADWORDS, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 815aa32b7..910a21e31 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -27,7 +27,7 @@ class BSBot : public Module moduleAddAuthor("Anope"); moduleAddVersion("$Id$"); - moduleSetType(CORE); + moduleSetType(this, 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); diff --git a/src/core/bs_botlist.c b/src/core/bs_botlist.c index e33830f71..6c991ef85 100644 --- a/src/core/bs_botlist.c +++ b/src/core/bs_botlist.c @@ -27,7 +27,7 @@ class BSBotList : public Module moduleAddAuthor("Anope"); moduleAddVersion("$Id$"); - moduleSetType(CORE); + moduleSetType(this, CORE); c = createCommand("BOTLIST", do_botlist, NULL, BOT_HELP_BOTLIST, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_fantasy.c b/src/core/bs_fantasy.c index 992fcbd39..f5272a2bc 100644 --- a/src/core/bs_fantasy.c +++ b/src/core/bs_fantasy.c @@ -26,7 +26,7 @@ class BSFantasy : public Module moduleAddAuthor("Anope"); moduleAddVersion("$Id$"); - moduleSetType(CORE); + moduleSetType(this, CORE); hook = createEventHook(EVENT_BOT_FANTASY, do_fantasy); moduleAddEventHook(hook); } |
