diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-01 20:53:20 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-01 20:53:20 +0000 |
commit | 42d5b9571eff06b0c33093dc9118c29f9603fd2b (patch) | |
tree | 97429d79e59c3f14d5fea75e2a25524af2bd842a /src/cmd_rehash.cpp | |
parent | 8a0a8ce160dbc623350b80f8f6e06afb9c7a1f86 (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/cmd_rehash.cpp')
-rw-r--r-- | src/cmd_rehash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_rehash.cpp b/src/cmd_rehash.cpp index 579c04300..8154c5b92 100644 --- a/src/cmd_rehash.cpp +++ b/src/cmd_rehash.cpp @@ -45,7 +45,7 @@ CmdResult cmd_rehash::Handle (const char** parameters, int pcnt, userrec *user) if (old_disabled != ServerInstance->Config->DisabledCommands) InitializeDisabledCommands(ServerInstance->Config->DisabledCommands, ServerInstance); - FOREACH_MOD(I_OnRehash,OnRehash(parameter)); + FOREACH_MOD(I_OnRehash,OnRehash(user, parameter)); return CMD_SUCCESS; } |