summaryrefslogtreecommitdiff
path: root/src/modules/os_info.c
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/os_info.c
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/os_info.c')
-rw-r--r--src/modules/os_info.c4
1 files changed, 2 insertions, 2 deletions
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);