diff options
| author | 2005-11-30 15:26:58 +0000 | |
|---|---|---|
| committer | 2005-11-30 15:26:58 +0000 | |
| commit | 596e41348f06cab088e35c362393a3140bf161b0 (patch) | |
| tree | 78cad8f720b1c0332af96e0d381b263969496c24 /include | |
| parent | Added a parameter to OnRehash for the rehash parameter (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.h | 5 |
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 |
