summaryrefslogtreecommitdiff
path: root/src/cmd_rehash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_rehash.cpp')
-rw-r--r--src/cmd_rehash.cpp2
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;
}