From 0739e7c099618eb1848f5a72ec4d896095033a76 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 15:26:42 +0000 Subject: Added a parameter to OnRehash for the rehash parameter git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2058 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_filter_pcre.cpp | 2 +- src/modules/extra/m_sql.cpp | 2 +- src/modules/extra/m_sqlauth.cpp | 2 +- src/modules/extra/m_sqllog.cpp | 2 +- src/modules/extra/m_sqloper.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp index 0cc7fcc26..89e8fe2de 100644 --- a/src/modules/extra/m_filter_pcre.cpp +++ b/src/modules/extra/m_filter_pcre.cpp @@ -180,7 +180,7 @@ class ModuleFilterPCRE : public Module return 0; } - virtual void OnRehash() + virtual void OnRehash(std::string parameter) { // reload our config file on rehash - we must destroy and re-allocate the classes // to call the constructor again and re-read our data. diff --git a/src/modules/extra/m_sql.cpp b/src/modules/extra/m_sql.cpp index d25af102a..f1d95cf9f 100644 --- a/src/modules/extra/m_sql.cpp +++ b/src/modules/extra/m_sql.cpp @@ -325,7 +325,7 @@ class ModuleSQL : public Module delete Srv; } - virtual void OnRehash() + virtual void OnRehash(std::string parameter) { delete Conf; Conf = new ConfigReader(); diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index d6a6b5e81..e1c0929c4 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -78,7 +78,7 @@ class ModuleSQLAuth : public Module ReadConfig(); } - virtual void OnRehash() + virtual void OnRehash(std::string parameter) { ReadConfig(); } diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp index d47dc7190..f80fec80b 100644 --- a/src/modules/extra/m_sqllog.cpp +++ b/src/modules/extra/m_sqllog.cpp @@ -71,7 +71,7 @@ class ModuleSQLLog : public Module ReadConfig(); } - virtual void OnRehash() + virtual void OnRehash(std::string parameter) { ReadConfig(); } diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index 714374769..630e3520a 100644 --- a/src/modules/extra/m_sqloper.cpp +++ b/src/modules/extra/m_sqloper.cpp @@ -62,7 +62,7 @@ class ModuleSQLOper : public Module ReadConfig(); } - virtual void OnRehash() + virtual void OnRehash(std::string parameter) { delete Conf; Conf = new ConfigReader(); -- cgit v1.2.3