From 596e41348f06cab088e35c362393a3140bf161b0 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 15:26:58 +0000 Subject: Added onrehash parameter git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2059 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index c86a11616..69f020754 100644 --- a/include/modules.h +++ b/include/modules.h @@ -304,9 +304,10 @@ class Module : public classbase /** Called on rehash. * This method is called prior to a /REHASH or when a SIGHUP is received from the operating * system. You should use it to reload any files so that your module keeps in step with the - * rest of the application. + * rest of the application. If a parameter is given, the core has done nothing. The module + * receiving the event can decide if this parameter has any relevence to it. */ - virtual void OnRehash(); + virtual void OnRehash(std::string parameter); /** Called when a raw command is transmitted or received. * This method is the lowest level of handler available to a module. It will be called with raw -- cgit v1.2.3