diff options
| author | 2010-01-19 15:16:41 +0000 | |
|---|---|---|
| committer | 2010-01-19 15:16:41 +0000 | |
| commit | 3cda2e0971d279b1840d1689bb2821a93d475a4e (patch) | |
| tree | e121bf3b785b791672a91976b2e7e2df94a89e31 /include | |
| parent | ERROR is not a valid log level, so all these messages were getting dropped (diff) | |
| download | inspircd++-3cda2e0971d279b1840d1689bb2821a93d475a4e.tar.gz inspircd++-3cda2e0971d279b1840d1689bb2821a93d475a4e.tar.bz2 inspircd++-3cda2e0971d279b1840d1689bb2821a93d475a4e.zip | |
Fix some command registration warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12305 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
| -rw-r--r-- | include/inspircd.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 89f0a08ee..44e6abe57 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -813,7 +813,11 @@ class CommandModule : public Module public: CommandModule() : cmd(this) { - ServerInstance->AddCommand(&cmd); + } + + void init() + { + ServerInstance->Modules->AddService(cmd); } Version GetVersion() |
