summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 15:26:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 15:26:58 +0000
commit596e41348f06cab088e35c362393a3140bf161b0 (patch)
tree78cad8f720b1c0332af96e0d381b263969496c24 /include
parent0739e7c099618eb1848f5a72ec4d896095033a76 (diff)
Added onrehash parameter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2059 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/modules.h5
1 files changed, 3 insertions, 2 deletions
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