diff options
Diffstat (limited to 'src/commands/cmd_rehash.cpp')
-rw-r--r-- | src/commands/cmd_rehash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cmd_rehash.cpp b/src/commands/cmd_rehash.cpp index 9a9384af5..ebbb7c9bd 100644 --- a/src/commands/cmd_rehash.cpp +++ b/src/commands/cmd_rehash.cpp @@ -64,10 +64,10 @@ CmdResult CommandRehash::Handle (const std::vector<std::string>& parameters, Use if (!ServerInstance->ConfigThread) { - ServerInstance->Config->RehashUser = user; + ServerInstance->Config->RehashUserUID = user->uuid; ServerInstance->Config->RehashParameter = parameters.size() ? parameters[0] : ""; - ServerInstance->ConfigThread = new ConfigReaderThread(ServerInstance, false, user); + ServerInstance->ConfigThread = new ConfigReaderThread(ServerInstance, false, ServerInstance->Config->RehashUserUID); ServerInstance->Threads->Create(ServerInstance->ConfigThread); } else |