summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-15 21:00:51 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-15 21:00:51 +0000
commit68592b0445ba7abe96c9fff04fa55482e5a389ab (patch)
tree8e90e6b80df919335becaf27804c61c254da87e2 /src/modules
parent2ee049d7d87d85bd95d2d96b11346054cfabf527 (diff)
Removed command position from Module::AddCommand(), it is no longer used because of OnPreCommand/OnPostCommand
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2505 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules')
-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.c8
-rw-r--r--src/modules/os_info.c4
5 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/cs_appendtopic.c b/src/modules/cs_appendtopic.c
index ba178ed07..c91d57e2e 100644
--- a/src/modules/cs_appendtopic.c
+++ b/src/modules/cs_appendtopic.c
@@ -143,7 +143,7 @@ class CSAppendTopic : public Module
this->SetVersion(VERSION);
this->SetType(SUPPORTED);
- this->AddCommand(CHANSERV, new CommandCSAppendTopic(), MOD_HEAD);
+ this->AddCommand(CHANSERV, new CommandCSAppendTopic());
/* English (US) */
const char* langtable_en_us[] = {
diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c
index 2e4182754..b8bd07102 100644
--- a/src/modules/cs_enforce.c
+++ b/src/modules/cs_enforce.c
@@ -259,7 +259,7 @@ class CSEnforce : public Module
this->SetVersion(VERSION);
this->SetType(SUPPORTED);
- this->AddCommand(CHANSERV, new CommandCSEnforce(), MOD_HEAD);
+ this->AddCommand(CHANSERV, new CommandCSEnforce());
/* English (US) */
const char* langtable_en_us[] = {
diff --git a/src/modules/cs_tban.c b/src/modules/cs_tban.c
index 080b54d30..1bce0bb30 100644
--- a/src/modules/cs_tban.c
+++ b/src/modules/cs_tban.c
@@ -92,7 +92,7 @@ class CSTBan : public Module
{
me = this;
- this->AddCommand(CHANSERV, new CommandCSTBan(), MOD_HEAD);
+ this->AddCommand(CHANSERV, new CommandCSTBan());
this->SetAuthor(AUTHOR);
this->SetVersion(VERSION);
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c
index 7116b98ae..d6ecb4889 100644
--- a/src/modules/hs_request.c
+++ b/src/modules/hs_request.c
@@ -405,10 +405,10 @@ class HSRequest : public Module
{
me = this;
- this->AddCommand(HOSTSERV, new CommandHSRequest(), MOD_HEAD);
- this->AddCommand(HOSTSERV, new CommandHSActivate(), MOD_HEAD);
- this->AddCommand(HOSTSERV, new CommandHSReject(), MOD_HEAD);
- this->AddCommand(HOSTSERV, new CommandHSWaiting(), MOD_HEAD);
+ this->AddCommand(HOSTSERV, new CommandHSRequest());
+ this->AddCommand(HOSTSERV, new CommandHSActivate());
+ this->AddCommand(HOSTSERV, new CommandHSReject());
+ this->AddCommand(HOSTSERV, new CommandHSWaiting());
ModuleManager::Attach(I_OnPreCommand, this);
ModuleManager::Attach(I_OnSaveDatabase, this);
diff --git a/src/modules/os_info.c b/src/modules/os_info.c
index 04ace5f12..d521bdfe3 100644
--- a/src/modules/os_info.c
+++ b/src/modules/os_info.c
@@ -229,8 +229,8 @@ class OSInfo : public Module
if (mLoadConfig())
throw ModuleException("Unable to load config");
- this->AddCommand(NICKSERV, new CommandNSOInfo(), MOD_HEAD);
- this->AddCommand(CHANSERV, new CommandCSOInfo(), MOD_HEAD);
+ this->AddCommand(NICKSERV, new CommandNSOInfo());
+ this->AddCommand(CHANSERV, new CommandCSOInfo());
ModuleManager::Attach(I_OnPostCommand, this);
ModuleManager::Attach(I_OnSaveDatabase, this);