summaryrefslogtreecommitdiff
path: root/src/modules/m_rline.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-17 17:10:45 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-17 17:10:45 +0000
commit5d474dc9fbd9bd36d0a0a8df93e1ec1e180864d7 (patch)
treeca8c0647f00e166256755aeeea2e82ef597998da /src/modules/m_rline.cpp
parent4b6bdeccb537b6f8030172c37afa7dc324e26765 (diff)
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_rline.cpp')
-rw-r--r--src/modules/m_rline.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp
index d52870284..0df36eb37 100644
--- a/src/modules/m_rline.cpp
+++ b/src/modules/m_rline.cpp
@@ -205,6 +205,10 @@ class ModuleRLine : public Module
public:
ModuleRLine() : rxfactory(this, "regex"), f(rxfactory), r(this, f)
{
+ }
+
+ void init()
+ {
OnRehash(NULL);
ServerInstance->AddCommand(&r);