summaryrefslogtreecommitdiff
path: root/src/modules/m_park.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 01:35:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 01:35:01 +0000
commit12737ab4ad61a0d8a908c8a21594c7012e21eb3c (patch)
treebf819b3a528227d3ddf929e25e8b74d1db8ef1c7 /src/modules/m_park.cpp
parentb8383dcc9524ca832de7daf56f44fe54b19e5bdc (diff)
ConfigReader and FileReader now take InspIRCd* to their constructors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_park.cpp')
-rw-r--r--src/modules/m_park.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_park.cpp b/src/modules/m_park.cpp
index c232e8a2c..e27a47d04 100644
--- a/src/modules/m_park.cpp
+++ b/src/modules/m_park.cpp
@@ -219,7 +219,7 @@ class ModulePark : public Module
public:
virtual void ReadSettings()
{
- Conf = new ConfigReader;
+ Conf = new ConfigReader(ServerInstance);
ParkMaxTime = Conf->ReadInteger("park","maxtime",0,true);
ConcurrentParks = Conf->ReadInteger("park","maxperip",0,true);
ParkMaxMsgs = Conf->ReadInteger("park","maxmessages",0,true);