summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 00:48:04 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 00:48:04 +0000
commit7ac7c564f5115af12f771db5b510b757b1dcc322 (patch)
tree90f9d13331c37f8e5dc5ce642b50be545590274f /src/modules
parent7181dc35ce0f2d2a2bf2d2bd0d36a690c1cc6b95 (diff)
moduleSetType() -> Module::SetType().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1583 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/bs_fantasy_unban.c2
-rw-r--r--src/modules/cs_appendtopic.c2
-rw-r--r--src/modules/cs_enforce.c2
-rw-r--r--src/modules/cs_tban.c2
-rw-r--r--src/modules/hs_request.c2
-rw-r--r--src/modules/ns_maxemail.c2
-rw-r--r--src/modules/ns_noop_convert.c2
-rw-r--r--src/modules/os_ignore_db.c2
-rw-r--r--src/modules/os_info.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/bs_fantasy_unban.c b/src/modules/bs_fantasy_unban.c
index e1bf22096..a0c342e5c 100644
--- a/src/modules/bs_fantasy_unban.c
+++ b/src/modules/bs_fantasy_unban.c
@@ -26,7 +26,7 @@ class BSFantasyUnban : public Module
moduleAddAuthor("Anope");
moduleAddVersion("$Id$");
- moduleSetType(this, CORE);
+ this->SetType(CORE);
hook = createEventHook(EVENT_BOT_FANTASY, do_fantasy);
moduleAddEventHook(hook);
diff --git a/src/modules/cs_appendtopic.c b/src/modules/cs_appendtopic.c
index 7c0144e5b..0e15c9af7 100644
--- a/src/modules/cs_appendtopic.c
+++ b/src/modules/cs_appendtopic.c
@@ -62,7 +62,7 @@ class CSAppendTopic : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(this, SUPPORTED);
+ this->SetType(SUPPORTED);
c = createCommand("APPENDTOPIC", my_cs_appendtopic, NULL, -1, -1, -1, -1, -1);
moduleAddCommand(CHANSERV, c, MOD_HEAD);
diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c
index 7a353c57f..9979e0a58 100644
--- a/src/modules/cs_enforce.c
+++ b/src/modules/cs_enforce.c
@@ -41,7 +41,7 @@ class CSEnforce : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(this, SUPPORTED);
+ this->SetType(SUPPORTED);
c = createCommand("ENFORCE", my_cs_enforce, NULL, -1, -1, -1, -1, -1);
moduleAddCommand(CHANSERV, c, MOD_HEAD);
diff --git a/src/modules/cs_tban.c b/src/modules/cs_tban.c
index 03bc2f019..d4204d04f 100644
--- a/src/modules/cs_tban.c
+++ b/src/modules/cs_tban.c
@@ -55,7 +55,7 @@ class CSTBan : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(this, SUPPORTED);
+ this->SetType(SUPPORTED);
}
};
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c
index eee65f2ef..21afda48a 100644
--- a/src/modules/hs_request.c
+++ b/src/modules/hs_request.c
@@ -122,7 +122,7 @@ class HSRequest : public Module
moduleSetHostHelp(hs_help);
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(this, SUPPORTED);
+ this->SetType(SUPPORTED);
my_load_config();
my_add_languages();
diff --git a/src/modules/ns_maxemail.c b/src/modules/ns_maxemail.c
index 5e8d621de..99db12ada 100644
--- a/src/modules/ns_maxemail.c
+++ b/src/modules/ns_maxemail.c
@@ -41,7 +41,7 @@ class NSMaxEmail : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(this, SUPPORTED);
+ this->SetType(SUPPORTED);
c = createCommand("REGISTER", my_ns_register, NULL, -1, -1, -1, -1, -1);
moduleAddCommand(NICKSERV, c, MOD_HEAD);
diff --git a/src/modules/ns_noop_convert.c b/src/modules/ns_noop_convert.c
index 576d01486..ef71a5be8 100644
--- a/src/modules/ns_noop_convert.c
+++ b/src/modules/ns_noop_convert.c
@@ -68,7 +68,7 @@ class NSNOOPConvert : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(this, SUPPORTED);
+ this->SetType(SUPPORTED);
if (mLoadConfig(0, NULL))
throw ModuleException("Couldn't load config?");
diff --git a/src/modules/os_ignore_db.c b/src/modules/os_ignore_db.c
index e9038292f..4c138701b 100644
--- a/src/modules/os_ignore_db.c
+++ b/src/modules/os_ignore_db.c
@@ -86,7 +86,7 @@ class OSIgnoreDB : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(this, SUPPORTED);
+ this->SetType(SUPPORTED);
hook = createEventHook(EVENT_RELOAD, reload_config);
if (moduleAddEventHook(hook) != MOD_ERR_OK)
diff --git a/src/modules/os_info.c b/src/modules/os_info.c
index 15f940e34..2756bf3bf 100644
--- a/src/modules/os_info.c
+++ b/src/modules/os_info.c
@@ -73,7 +73,7 @@ class OSInfo : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(this, SUPPORTED);
+ this->SetType(SUPPORTED);
if (mLoadConfig())
throw ModuleException("Unable to load config");