X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcommands%2Fcmd_rehash.cpp;h=96313829f4c55045e0e61966b1734e95d0f6b70b;hb=c384697c88aa54b5a532cd2edce3c063c70d7868;hp=9ee71838b3f1444f3793678f4f131b33a8c0d0b0;hpb=50eebfeac8ebe501b021ebf62b0b01464fd79a21;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/commands/cmd_rehash.cpp b/src/commands/cmd_rehash.cpp index 9ee71838b..96313829f 100644 --- a/src/commands/cmd_rehash.cpp +++ b/src/commands/cmd_rehash.cpp @@ -73,9 +73,7 @@ CmdResult CommandRehash::Handle (const std::vector& parameters, Use FOREACH_MOD(I_OnGarbageCollect, OnGarbageCollect()); - ServerInstance->Config->RehashUserUID = user->uuid; - - ServerInstance->ConfigThread = new ConfigReaderThread(ServerInstance, false, ServerInstance->Config->RehashUserUID); + ServerInstance->ConfigThread = new ConfigReaderThread(ServerInstance, user->uuid); ServerInstance->Threads->Start(ServerInstance->ConfigThread); return CMD_SUCCESS;