summaryrefslogtreecommitdiff
path: root/src/modules/m_helpop.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-01 20:53:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-01 20:53:20 +0000
commit42d5b9571eff06b0c33093dc9118c29f9603fd2b (patch)
tree97429d79e59c3f14d5fea75e2a25524af2bd842a /src/modules/m_helpop.cpp
parent8a0a8ce160dbc623350b80f8f6e06afb9c7a1f86 (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_helpop.cpp')
-rw-r--r--src/modules/m_helpop.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 510e4e899..4d39f942b 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -55,11 +55,11 @@ class Helpop : public ModeHandler
class cmd_helpop : public command_t
{
public:
- cmd_helpop (InspIRCd* Instance) : command_t(Instance, "HELPOP", 0, 1)
- {
- this->source = "m_helpop.so";
- syntax = "<any-text>";
- }
+ cmd_helpop (InspIRCd* Instance) : command_t(Instance, "HELPOP", 0, 1)
+ {
+ this->source = "m_helpop.so";
+ syntax = "<any-text>";
+ }
CmdResult Handle (const char** parameters, int pcnt, userrec *user)
{
@@ -161,7 +161,7 @@ class ModuleHelpop : public Module
List[I_OnRehash] = List[I_OnWhois] = 1;
}
- virtual void OnRehash(const std::string &parameter)
+ virtual void OnRehash(userrec* user, const std::string &parameter)
{
ReadConfig();
}