From 0da6b3a13def40e8fd002b9fc60f955467f6372d Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 24 May 2009 02:53:45 +0000 Subject: OnRehash changes: split to multiple hooks to clarify use and prevent explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_swhois.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_swhois.cpp') diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index b750d839d..da8e1b6c4 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -95,7 +95,7 @@ class ModuleSWhois : public Module ServerInstance->Modules->Attach(eventlist, this, 7); } - void OnRehash(User* user, const std::string ¶meter) + void OnRehash(User* user) { delete Conf; Conf = new ConfigReader(ServerInstance); -- cgit v1.2.3