SrvParams->reload(); cNetwork::instance()->reload(); DefManager->reload(); cAllSpawnRegions::getInstance()->reload(); cAllTerritories::getInstance()->reload(); cAllResources::getInstance()->reload(); cAllMakeMenus::getInstance()->reload(); cAllConMenus::getInstance()->reload(); cCommands::instance()->loadACLs(); ScriptManager->reload();
SrvParams->reload(); cNetwork::instance()->reload(); DefManager->reload(); SpawnRegions::instance()->reload(); cAllTerritories::getInstance()->reload(); Resources::instance()->reload(); MakeMenus::instance()->reload(); ContextMenus::instance()->reload(); cCommands::instance()->loadACLs(); ScriptManager->reload();
void signal_handler(int signal){	switch (signal)	{	case SIGHUP:		SrvParams->reload();		cNetwork::instance()->reload();		DefManager->reload();		cAllSpawnRegions::getInstance()->reload();		cAllTerritories::getInstance()->reload();		cAllResources::getInstance()->reload();		cAllMakeMenus::getInstance()->reload();		cAllConMenus::getInstance()->reload();		cCommands::instance()->loadACLs();		ScriptManager->reload();		break ;			case SIGUSR1:		Accounts->reload();		break ;	case SIGUSR2://		cwmWorldState->savenewworld(SrvParams->worldSaveModule());		SrvParams->flush();		break ;	case SIGTERM:		keeprun = 0 ;		break;	default:		break;	}}