From 12737ab4ad61a0d8a908c8a21594c7012e21eb3c Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 01:35:01 +0000 Subject: 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 --- src/modules/m_connflood.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_connflood.cpp') diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp index 89c7f4c62..bf05c272a 100644 --- a/src/modules/m_connflood.cpp +++ b/src/modules/m_connflood.cpp @@ -64,7 +64,7 @@ public: void InitConf() { /* read configuration variables */ - conf = new ConfigReader; + conf = new ConfigReader(ServerInstance); /* throttle configuration */ seconds = conf->ReadInteger("connflood", "seconds", 0, true); maxconns = conf->ReadInteger("connflood", "maxconns", 0, true); -- cgit v1.2.3