diff options
| author | 2007-01-01 20:53:20 +0000 | |
|---|---|---|
| committer | 2007-01-01 20:53:20 +0000 | |
| commit | 42d5b9571eff06b0c33093dc9118c29f9603fd2b (patch) | |
| tree | 97429d79e59c3f14d5fea75e2a25524af2bd842a /src/modules/m_oper_hash.cpp | |
| parent | Make sure that if an oper opers up and has an swhois in their opertype or ope... (diff) | |
Fix to allow for OnRehash to know what user initiated the rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_oper_hash.cpp')
| -rw-r--r-- | src/modules/m_oper_hash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_oper_hash.cpp b/src/modules/m_oper_hash.cpp index b1d80b7eb..23de60a7d 100644 --- a/src/modules/m_oper_hash.cpp +++ b/src/modules/m_oper_hash.cpp @@ -84,7 +84,7 @@ class ModuleOperHash : public Module /* Read the config file first */ Conf = NULL; - OnRehash(""); + OnRehash(NULL,""); ServerInstance->UseInterface("HashRequest"); @@ -126,7 +126,7 @@ class ModuleOperHash : public Module List[I_OnRehash] = List[I_OnOperCompare] = 1; } - virtual void OnRehash(const std::string ¶meter) + virtual void OnRehash(userrec* user, const std::string ¶meter) { /* Re-read configuration file */ if (Conf) |
