- Server->RehashFinishMutex->Lock();
- Server->SNO->WriteToSnoMask('A', "Rehashing config file %s %s",ServerConfig::CleanFilename(Server->ConfigFileName), reason.c_str());
- Server->RehashUsersAndChans();
- FOREACH_MOD_I(Server, I_OnGarbageCollect, OnGarbageCollect());
- if (!Server->ConfigThread)
+ ServerInstance->SNO->WriteToSnoMask('a', "Rehashing config file %s %s",ServerConfig::CleanFilename(ServerInstance->ConfigFileName.c_str()), reason.c_str());
+ ServerInstance->RehashUsersAndChans();
+ FOREACH_MOD(I_OnGarbageCollect, OnGarbageCollect());
+ if (!ServerInstance->ConfigThread)