diff options
| author | 2010-01-17 17:10:45 +0000 | |
|---|---|---|
| committer | 2010-01-17 17:10:45 +0000 | |
| commit | 5d474dc9fbd9bd36d0a0a8df93e1ec1e180864d7 (patch) | |
| tree | ca8c0647f00e166256755aeeea2e82ef597998da /src/modules/m_cloaking.cpp | |
| parent | Add Module::init() for correct exception handling during hook registration (diff) | |
| download | inspircd++-5d474dc9fbd9bd36d0a0a8df93e1ec1e180864d7.tar.gz inspircd++-5d474dc9fbd9bd36d0a0a8df93e1ec1e180864d7.tar.bz2 inspircd++-5d474dc9fbd9bd36d0a0a8df93e1ec1e180864d7.zip | |
Move initialization that throws configuration exceptions to init()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12279 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cloaking.cpp')
| -rw-r--r-- | src/modules/m_cloaking.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 22114c54e..1b30f410a 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -121,6 +121,10 @@ class ModuleCloaking : public Module public: ModuleCloaking() : cu(this), Hash(this, "hash/md5") { + } + + void init() + { OnRehash(NULL); /* Register it with the core */ |
